generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
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 ```
- Loading branch information
1 parent
47f7569
commit 6036598
Showing
4 changed files
with
34 additions
and
22 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
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