-
Notifications
You must be signed in to change notification settings - Fork 174
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
classes which are references are duplicated #352
Labels
Comments
@TedZen PLS have a look at this |
This appears to be an issue with both json and json schema. I'm guessing it's related to the recursive calls to find other objects but haven't been able to narrow it down further. |
I'v test it, This error should be fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I wanted to separate the Issues described in #351 as it is not just enum classes, that are duplicated, but it seems every class you reference is created as often as you reference them.
Example:
I have a schema:
Which generates:
although I would expect:
The error while compiling is
Duplicate JVM class name 'Foo$Value' generated from: Value, Value
I am currently using the lib
wu.seal.jsontokotlin:library:3.6.1
My generation code:
The text was updated successfully, but these errors were encountered: