generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix test cases and improve positions in errors (#1096)
Changes - Incomplete module boilerplate for test modules - `ftl/one` was using `two.User`, but `ftl/two` was not including it in its schema - I've added a new Verb which makes use of User - compiling schema was returning errors at the node that was reached before finding an error, where as sometimes we have a more accurate position available - Now we pass around the latest position we dive deeper into all the checks, rather than staying at the node's position - Previously we would get an error on the verb location, rather than the field on a struct that was used by the verb Not included in this PR is a fix for #1095, which is why test/data is using Option in the new verb
- Loading branch information
Showing
14 changed files
with
701 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.