-
Notifications
You must be signed in to change notification settings - Fork 175
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
Merging data classes of the same structure #390
Comments
HI, Do you want to generate only one class like this? data class Test(
val data1: Data1,
val data2: Data1
)
data class Data1(
val name: String,
val value: String
) |
Yes |
@Yummy-Cookie-S Thank you for your feedback, will fix it next version |
Hi, I have the 3.7.4 version and I still see the same behaviour. Should I enable a setting in order to fix it? |
I think No need settings additional Can you paste the demo json reproduce the behavior? |
If I try to convert the following example
Then two data classes with identical structure will be obtained (Data1,Data2)
When the number of such structures increases, a large number of data classes with the same structure will be generated
I would like to have the opportunity to choose whether to combine the two data classes into one in this case
The text was updated successfully, but these errors were encountered: