openfga / language

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

feat: support schema version bumps in the lexer #156

Closed ewanharris closed 7 months ago

ewanharris commented 7 months ago

Description

This makes the lexer support parsing schema as multiple digits rather than a hardcoded 1.1, some tests have been removed as they are now valid syntax but as this is now being moved to validation they can't be handled in a cross language way due to lack of validation in Go.

References

Closes #55

Review Checklist

rhamzeh commented 7 months ago

@ewanharris can you rebase of main, so that the go build works?