Replies: 2 comments 1 reply
-
All the properties on the supplied entity and DTO are of type nullable string. Should Exist__SecretValue property be a boolean? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Xilmiki Starting with the current pre-releases, you can use Custom mapping for primitive types.
@Xilmiki @stagep TypeAdapterConfig<string?, string> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Global String to bool converter
I am trying to do a global mapping
If SecretValue==null ->
Exist__SecretValue=false
otherwise
Exist__SecretValue=true
I think I am close to the solution but I can't find the way , can you help me?
Beta Was this translation helpful? Give feedback.
All reactions