You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fga model write --store-id=$FGA_STORE_ID --file fga.mod
Logs
Error: failed to write model due to WriteAuthorizationModel validation error for POST WriteAuthorizationModel with body {"code":"validation_error","message":"modular models (schema version 1.2) are not supported"}
with error code validation_error error message: modular models (schema version 1.2) are not supported
The text was updated successfully, but these errors were encountered:
As of v1.5.2, support for schema 1.2 is still experimental and you need to run the server with the following flag to enable it: OPENFGA_EXPERIMENTALS=enable-modular-models
Checklist
Description
when i run: fga model write --store-id=$FGA_STORE_ID --file fga.mod
this is the tutorial: https://openfga.dev/docs/modeling/modular-models
Then, it happ: with error code validation_error error message: modular models (schema version 1.2) are not supported
Expectation
I think it genegrated a dsl file
Reproduction
https://github.com/xuanlongvts/authen-autho/tree/main/open-fga/16_modular_models
Store data
No response
OpenFGA version
latest
How are you running OpenFGA?
As a binary
What datastore are you using?
In-Memory
OpenFGA Flags
fga model write --store-id=$FGA_STORE_ID --file fga.mod
Logs
Error: failed to write model due to WriteAuthorizationModel validation error for POST WriteAuthorizationModel with body {"code":"validation_error","message":"modular models (schema version 1.2) are not supported"}
with error code validation_error error message: modular models (schema version 1.2) are not supported
The text was updated successfully, but these errors were encountered: