Skip to content

fix: websocket client codegen#3947

Merged
raphael merged 1 commit into
goadesign:v3from
abocim:ab-fix_struct_keys
Jul 20, 2026
Merged

fix: websocket client codegen#3947
raphael merged 1 commit into
goadesign:v3from
abocim:ab-fix_struct_keys

Conversation

@abocim

@abocim abocim commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Use named struct fields for result types in WebSocket client streaming

Update websocket_recv.go.tpl and test data to initialize viewed result types with named fields (Projected: and View:) instead of positional arguments.

This fixes go vet validation failures in generated WebSocket code.

Use named struct fields for result types in WebSocket client streaming

Update websocket_recv.go.tpl and test data to initialize viewed result types
with named fields (`Projected:` and `View:`) instead of positional arguments.

This fixes go vet validation failures in generated WebSocket code.

Signed-off-by: Adam Bocim <adam.bocim@seznam.cz>
@raphael

raphael commented Jul 20, 2026

Copy link
Copy Markdown
Member

Awesome, thank you!

@raphael
raphael merged commit 919c8e1 into goadesign:v3 Jul 20, 2026
5 checks passed
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