Skip to content

Go: handle markers with no RPC codecs#7776

Merged
greg-at-moderne merged 2 commits into
mainfrom
greg-go-rpc-buildtool-codec
May 26, 2026
Merged

Go: handle markers with no RPC codecs#7776
greg-at-moderne merged 2 commits into
mainfrom
greg-go-rpc-buildtool-codec

Conversation

@greg-at-moderne
Copy link
Copy Markdown
Contributor

@greg-at-moderne greg-at-moderne commented May 26, 2026

What's changed?

Changing the behavior for RPC for markers for which there are no codecs defined.
Aligning Java and Go with what's already implemented for JavaScript, C# and partly for Python. Instead of failing, take the inline value.

What's your motivation?

Otherwise it fails with RPC mismatches when executing Go recipes using Moderne CLI.

@greg-at-moderne greg-at-moderne changed the title Take inline value when no codec Go: handle markers with no RPC codecs May 26, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review May 26, 2026 08:29
@greg-at-moderne greg-at-moderne merged commit 1a4291e into main May 26, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-go-rpc-buildtool-codec branch May 26, 2026 08:29
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant