Skip to content

Add support for inlining single members - #227

Open
agocke wants to merge 1 commit into
serdedotnet:mainfrom
agocke:add-inline
Open

Add support for inlining single members#227
agocke wants to merge 1 commit into
serdedotnet:mainfrom
agocke:add-inline

Conversation

@agocke

@agocke agocke commented Apr 3, 2025

Copy link
Copy Markdown
Collaborator

This allows creating 'wrapper' types that are serialized as though they are just their underlying field/property.

This allows creating 'wrapper' types that are serialized as though
they are just their underlying field/property.
@agocke
agocke enabled auto-merge (squash) April 3, 2025 06:51
@TheBrambleShark

Copy link
Copy Markdown

Would this be for types like OneOf<T1, T2> where the value would just be the T1 or T2 based on which is available?

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