Skip to content

encoder: prefix named nested structs for Decode round-trip - #252

Open
team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:encoder-nested-prefix
Open

team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:encoder-nested-prefix

Conversation

@team-humaki

Copy link
Copy Markdown

Fixes #228

Named nested structs were encoded as flat keys (a, b) while Decode expects dotted paths (y.a, y.b). Encode now prefixes named nested fields. Embedded structs stay flattened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Encoding of nested struct is missing named prefix

1 participant