Skip to content
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

Support generation of nested class structures #144

Open
jangalinski opened this issue Sep 18, 2024 · 0 comments
Open

Support generation of nested class structures #144

jangalinski opened this issue Sep 18, 2024 · 0 comments
Labels
Idea 💡 An idea we could follow up

Comments

@jangalinski
Copy link
Contributor

The great danger of single file code generation, as done by the default apache maven plugin, is that when you have the same internal schema re-defined (as re-use is forbidden by avro), you will get two generated files that overwrite/delete each other when they have the same namespace+name.

We started to work around this by making a single data class with nested inner clsases the default for generation from schema. However, now the inner classes have officially a different FQN then the FQN derived from the schema declaration, which led to bug #138 and issue #143.

That being said: It might still be useful to generated nested structures and we might pursue this further in future.

@jangalinski jangalinski added the Idea 💡 An idea we could follow up label Sep 18, 2024
@jangalinski jangalinski changed the title Support geneartion of nested class structures Support generation of nested class structures Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea 💡 An idea we could follow up
Projects
None yet
Development

No branches or pull requests

1 participant