Skip to content

Fix client gRPC endpoint generation to appease Go 1.24 test #3656

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

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

douglaswth
Copy link
Member

  • With a go.mod which sets the Go version to 1.24.0, go test complains with non-constant format string in call to goa.design/goa/v3/pkg.Fault when it sees generated client gRPC endpoint methods. This fixes the generation to include a format string of "%s" before the single argument.

- With a `go.mod` which sets the Go version to `1.24.0`, `go test`
  complains with `non-constant format string in call to
  goa.design/goa/v3/pkg.Fault` when it sees generated client gRPC
  endpoint methods. This fixes the generation to include a format string
  of `"%s"` before the single argument.
@douglaswth douglaswth requested a review from raphael February 21, 2025 23:41
@raphael
Copy link
Member

raphael commented Feb 22, 2025

Nice, thank you!

@raphael raphael merged commit c910ad6 into v3 Feb 22, 2025
11 checks passed
@raphael raphael deleted the fix-client-grpc-endpoint-fault-calls branch February 22, 2025 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants