Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support tagged not null marks #1954

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

EdwarDDay
Copy link
Contributor

Currently, it's not possible to override the not null mark behavior of the tagged encoder. I would like to override it and add an additional parameter $isNull with my custom format. This way I can better support nullability.

@sandwwraith
Copy link
Member

These classes do not have any documentation and are meant for internal use, not for public API. Are you sure that they fit your needs?

@EdwarDDay
Copy link
Contributor Author

It's working quite good and I had no problems so far. It's a key-value-store in the background, so I oriented on the properties format. Else it would be more or less just copying the code from Tagged and NameValueEncoder and this looks redundant to me.

@sandwwraith
Copy link
Member

Ok then. But remember that this class is subject to change without further notice and one day you may need to copy it anyway

@sandwwraith sandwwraith merged commit 1cff25e into Kotlin:dev Jun 7, 2022
@EdwarDDay EdwarDDay deleted the tagged_not_null_mark branch June 7, 2022 15:25
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