You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all: great plugin! I'm trying to use it within the context of generating case classes for objects stored in Kafka messages. I have no direct way of modifying the schema, and of of those schemas has a nested record with the same name of the root record. Like so:
Thank you very much for reporting this. I think a sensible solution would be to forego the cleanliness the imports, and use fully-qualified names the the type positions. While I don't expect the fix to be terribly involved, unfortunately my timeframe is uncertain, likely on a "months" scale.
Hi,
first of all: great plugin! I'm trying to use it within the context of generating case classes for objects stored in Kafka messages. I have no direct way of modifying the schema, and of of those schemas has a nested record with the same name of the root record. Like so:
When I use your plugin to generate the Scala class hierarchy, I end up with a top-level case class that looks like this:
As you can see, the imported
my.namespace2.Order
shadows the definition of the case classmy.namespace1.Order
itself.Any idea how to deal with this kind of situation?
The text was updated successfully, but these errors were encountered: