Skip to content

Conversation

sebaciv
Copy link
Contributor

@sebaciv sebaciv commented Sep 21, 2024

Implement IgnoreTransientDefaultMarker that allows Output implementation to instruct GenCodec instance to ignore
@transientDefault annotation on case class fields and serialize all fields even when field value is equal to it's default value.

Allowing this behaviour can be helpful when using the same model class in multiple contexts with different serialization
formats that have conflicting requirements for handling default values.

@sebaciv sebaciv self-assigned this Sep 21, 2024
@sebaciv sebaciv marked this pull request as ready for review September 23, 2024 18:16
@halotukozak halotukozak self-requested a review September 25, 2024 09:43
@halotukozak halotukozak self-requested a review September 25, 2024 09:46
@halotukozak
Copy link
Member

LGTM

@sebaciv sebaciv merged commit e950fc6 into master Sep 30, 2024
7 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.

3 participants