This is a start on mapping the errors raised during a modular transform back to their original source files, it's only a limited set right now but starts the basis of how we could do this.
Given we don't have validation in the Go package yet I'm not really sure what we can do to support those there :/
[ ] 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
This is a start on mapping the errors raised during a modular transform back to their original source files, it's only a limited set right now but starts the basis of how we could do this.
Given we don't have validation in the Go package yet I'm not really sure what we can do to support those there :/
References
Start of #186
Review Checklist
main