-
Notifications
You must be signed in to change notification settings - Fork 9
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
not possible to generate Option[List[Foo]] or empty list #180
Comments
for the first proposal I added CustomMapping and it works:
it means that
generates field in case class as Option[List[Location]] |
Sorry for the delay. That is a bug then, it should be an |
Without |
Thanks for the update! Hm, seems like arrays are handled a bit differently. I think your workaround could be applied by the plugin automatically whenever |
there is not possible to generate Option[List[Foo]] or empty list
We can use property for this feature:
nullable: true
=> for Option[List[Foo]] // to generate Option[List[Foo]]default: []
=> for empty list // to generate empty listThe text was updated successfully, but these errors were encountered: