Skip to content

Commit 3dac08d

Browse files
authored
Merge pull request #112 from cludden/cludden/fix-nexus-multi-service
Fix nexus generation for multiple services
2 parents e754620 + 6a5699d commit 3dac08d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1717

1818

1919

20+
# [1.17.1](https://github.com/cludden/protoc-gen-go-temporal/releases/tag/v1.17.1) - 2025-07-23
21+
22+
### Fixed
23+
- [#112](https://github.com/cludden/protoc-gen-go-temporal/pull/112) fix nexus generation for multiple services
24+
25+
26+
2027
# [1.17.0](https://github.com/cludden/protoc-gen-go-temporal/releases/tag/v1.17.0) - 2025-07-23
2128

2229
### ⚠ BREAKING CHANGES

internal/plugin/nexus.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ func (p *Manifest) nexusGenHandlerImpl(f *j.File, file *protogen.File, svc *prot
3030
f.Type().Id(handlerImpl).Struct()
3131

3232
for _, workflow := range p.workflowsOrdered {
33+
if p.methods[workflow].Desc.Parent() != p.Service.Desc {
34+
continue
35+
}
3336
method := p.methods[workflow]
3437
if !p.nexusGetShouldIncludeOperation(method) {
3538
continue

0 commit comments

Comments
 (0)