Skip to content

Use proto-qualified service wire name for Go ServiceName#49

Draft
dplyukhin wants to merge 1 commit into
golangfrom
system-nexus-registry
Draft

Use proto-qualified service wire name for Go ServiceName#49
dplyukhin wants to merge 1 commit into
golangfrom
system-nexus-registry

Conversation

@dplyukhin

@dplyukhin dplyukhin commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

What

Fixes the generated Go ServiceName constant to use the proto-qualified
@nexus.service-name wire name (e.g.
temporal.api.workflowservice.v1.WorkflowService) rather than the
UpperCamelCase interface name.

Why

ServiceName is sent on the wire as the Nexus service name. For system Nexus
operations the server routes by the proto-qualified service name, so the
generated constant must carry that value. When @nexus.service-name is
unspecified the wire name still defaults to the interface name, so other
examples are unaffected.

Notes

  • Base branch is golang (the Go-support feature branch).
  • examples/go/workflowservice/api.go regenerated.

Test plan

  • cargo test
  • cargo run -- build-examples --lang go and go build ./... in examples/go

The generated Go `ServiceName` constant is sent on the wire as the Nexus service
name, so it must use the `@nexus.service-name` wire name (e.g.
`temporal.api.workflowservice.v1.WorkflowService`) rather than the
UpperCamelCase interface name. When `@nexus.service-name` is unspecified the wire
name still defaults to the interface name, so other examples are unaffected.
@dplyukhin dplyukhin force-pushed the system-nexus-registry branch from b6684a7 to 8525f9f Compare June 24, 2026 20:09
@dplyukhin dplyukhin changed the title Generate minimal Go operation registry for system Nexus Use proto-qualified service wire name for Go ServiceName Jun 24, 2026
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.

1 participant