openfga / language

Grammar for the OpenFGA modeling language
https://openfga.dev
Apache License 2.0
17 stars 7 forks source link

In grammar, allow schema to be `1.1` or `1.2` #149

Closed rhamzeh closed 7 months ago

ewanharris commented 7 months ago

This is done but is further extended to allow anything in the form \d+.\d+ and then validation will enforce known schema versions

rhamzeh commented 7 months ago

I was thinking about this, I think it may be a good idea to have the schema version defined as an enum in the proto files. WDYT?