Skip to content

Custom serializer not annotated on variable declaration for DTO-generated class #531

Closed Answered by babyfish-ct
runningjustin asked this question in Q&A
Discussion options

You must be logged in to vote

OK, now the DTO does not use the implicit backing field of kotlin, it uses explicit backing field whose name start with "_".

If this broken kotlin serializaton and there is no workaround, I will change the DTO to remove explicit backing field.

Howevery, I'm super busy now, please wait a few days.

Replies: 7 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@runningjustin
Comment options

@babyfish-ct
Comment options

Comment options

You must be logged in to vote
4 replies
@runningjustin
Comment options

@babyfish-ct
Comment options

@babyfish-ct
Comment options

Answer selected by runningjustin
@runningjustin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@runningjustin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@runningjustin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants