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

Error while generating API models for Scala based DTOs #547

Open
harrysingh opened this issue Aug 10, 2021 · 1 comment
Open

Error while generating API models for Scala based DTOs #547

harrysingh opened this issue Aug 10, 2021 · 1 comment

Comments

@harrysingh
Copy link

We are trying to convert Scala Models (using case class, Seq, traits, Option etc.) with Hollow API Generator. However it is not able to generate the same. The errors are corresponding to unexpected interface for Scala specific classes.

Caused by: java.lang.IllegalArgumentException: Unexpected interface Seq passed as field.
	at com.netflix.hollow.core.write.objectmapper.HollowObjectTypeMapper.<init>(HollowObjectTypeMapper.java:82)

Please provide help or guidance on converting Scala based models via Hollow API generator.

@karankalra
Copy link

@nayanika-u @rpalcolea @davesu Could you please provide your inputs on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants