Skip to content

handle null cbor struct val - #689

Merged
lucix-aws merged 1 commit into
mainfrom
fix-cborstructnull
Jul 30, 2026
Merged

handle null cbor struct val#689
lucix-aws merged 1 commit into
mainfrom
fix-cborstructnull

Conversation

@lucix-aws

Copy link
Copy Markdown
Collaborator

@lucix-aws
lucix-aws requested review from a team as code owners July 30, 2026 17:09
"deserialize", getDeserializerName(normalize(target)),
"deref", generateStructFieldDeref(member, "dv"),
"nilable", isNilable(memberSymbol) ? handleSparseField() : emptyGoTemplate()
"skipNull", handleNullField()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so smithycbor.Nil doesn't pass isNilable(memberSymbol) because it's an actual value that represents a nil value?

@lucix-aws
lucix-aws merged commit 055e50f into main Jul 30, 2026
15 checks passed
@lucix-aws
lucix-aws deleted the fix-cborstructnull branch July 30, 2026 21:03
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.

3 participants