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.
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected
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, orNaN
when we have attempted to add onto these values.References
Review Checklist
main