-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sdk/go] Support for calling methods #7437
Conversation
func (ctx *Context) getOpts(t string, providers map[string]ProviderResource, opts *resourceOptions, remote bool, | ||
) (URN, []URN, bool, string, map[string]string, bool, ID, []string, []string, string, error) { | ||
func (ctx *Context) getOpts(t string, provider ProviderResource, opts *resourceOptions, remote bool, | ||
) (URN, []URN, bool, string, map[string]string, bool, ID, []string, []string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10-tuples remind me of Haskell pain from previous job, sitting there counting out positions to the 7th argument during a 3am debugging session. Could we use a record to name the fields? I can undertake a separate PR 😅
Looks good to me, neat, consistent with the other things I've seen. Comments mostly nit-ty and an opportunity to educate me. Now, this only modifies the Go SDK client to the Engine to issue Calls, assume the impl of Calls is in separate PR? |
2c0d692
to
5cf47b8
Compare
5cf47b8
to
2dbc430
Compare
Support for calling methods from Go.
Part of #7072