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.
feat: support injected verb clients in Go (#2828)
https://hackmd.io/OULeRFQQQvaMURysN27eEw only the TestLifecycle integration test is updated with the new approach in this PR, to demonstrate that both old and new verb call strategies are still functional. will remove other usages of `ftl.Call(...)` to follow - generates `<Verb>Client` signatures in external stubs and (local) signatures in `types.ftl.go` - generates resource registrations in `main.go` and `types.ftl.go`, e.g. "providers" for verb clients -`go-runtime/build.go` changes accompanying the above^ bunch of stuff to get imports working now that we're generating full verb request/response types rather than just function references - updates `go-runtime/server.go` to inject the registered providers when processing an inbound call #2641 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
80ad0a3
commit ef6056f
Showing
27 changed files
with
934 additions
and
199 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
Oops, something went wrong.