openfga / language

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

Merge main into modular models feature branch #169

Closed ewanharris closed 7 months ago

ewanharris commented 7 months ago

Description

Merges the main branch into the modular models feature branch.

It then fixes an issue that arose due to an addition in the modular models work where we threw early, when realistically we probably shouldn't have, and a related issue to that where if we do not have a symbol (i.e. missing schema) then when we are calculating/finding line and column numbers the findIndex/search functions could return -1 and we would then have 0 based line numbers, or NaN when we have attempted to add onto these values.

References

Review Checklist

rhamzeh commented 7 months ago

Some minor lint issues in go and js