openfga / spring-boot-starter

A Spring Boot Starter for OpenFGA
Apache License 2.0
26 stars 6 forks source link

Add Support for OpenFGA Initialization #57

Open rwinch opened 2 months ago

rwinch commented 2 months ago

Spring Boot provides support for Database initialization such that if schema.sql or data.sql are found on the classpath they are imported into the database.

It would be nice if OpenFGA could add similar support for importing the initial model and data into OpenFGA. An example can be found in fga-spring-examples.