Skip to content

feat: golang map types unioned with possible 'null'#18

Merged
Emyrk merged 2 commits into
mainfrom
stevenmasley/maps_can_be_null
Apr 16, 2025
Merged

feat: golang map types unioned with possible 'null'#18
Emyrk merged 2 commits into
mainfrom
stevenmasley/maps_can_be_null

Conversation

@Emyrk

@Emyrk Emyrk commented Apr 16, 2025

Copy link
Copy Markdown
Member

Golang map[<key>]<value> can be null in json. This change unions the Record type with null.
To revert to the previous behavior, use the mutation 'NotNullMaps'

Golang `map[<key>]<value>` can be `null` in json. This change unions
the Record type with `null`.
To revert to the previous behavior, use the mutation 'NotNullMaps'
@Emyrk Emyrk requested a review from aslilac April 16, 2025 20:31

@aslilac aslilac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

wanna add a test for NotNullMaps?

@Emyrk Emyrk merged commit a8b3dee into main Apr 16, 2025
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