You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To achieve this goal we need to update the plugin.
If that's a huge feature and you don't like it. Could you provide a way to generate the KSerializer even we use a customized KSerializer? (In that case I try to generate my own serializer that will co-work with the plugin generated one.)
The text was updated successfully, but these errors were encountered:
This request seems to be highly-specific, and introducing a whole new annotation to support this narrow use-case is indeed feels like overkill, so I'll close this for now. I remember similar ideas that had been reported before, and they all eventually converged to a custom serializer that treats null specifically.
Could you provide a way to generate the KSerializer even we use a customized KSerializer? (In that case I try to generate my own serializer that will co-work with the plugin generated one.)
What is your use-case and why do you need this feature?
We often use
null
as a placeholder for the field which doesn't exists. Example:But some times, the null is a meaningful value, such as deletion.
Describe the solution you'd like
Provide a new annotation, mark an additional field as the "bitmap". Such as:
To achieve this goal we need to update the plugin.
If that's a huge feature and you don't like it. Could you provide a way to generate the KSerializer even we use a customized KSerializer? (In that case I try to generate my own serializer that will co-work with the plugin generated one.)
The text was updated successfully, but these errors were encountered: