generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve Go schema extraction errors (#927)
Previously: ``` failed to build module: failed to extract module schema: ftl/foo: /Users/alec/dev/example/backend/modules/foo/foo.go:14:2: could not import ftl/bar (invalid package name: "") ``` Now: ``` failed to build module: failed to extract module schema: /Users/alec/dev/example/backend/modules/foo/foo.go:2:1: /Users/alec/dev/example/backend/modules/foo/foo.go:88:1: /Users/alec/dev/example/backend/modules/foo/foo.go:88:138: /Users/alec/dev/example/backend/modules/foo/foo.go:106:2: /Users/alec/dev/example/backend/modules/foo/foo.go:106:23: call first argument must be a function but is an unresolved reference to bar.BarRequest ``` Fixes #924 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
47f7569
commit 76ed3b5
Showing
5 changed files
with
215 additions
and
21 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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