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

Allow creating collection element with all nullable types if at least one property value is available #15

Open
denis-zhdanov opened this issue Nov 5, 2019 · 0 comments
Assignees

Comments

@denis-zhdanov
Copy link
Owner

Problem

This is a variation of the #14 - suppose that we have a use-case like below:

data class First(val second: Collection<Second>)

data class Second(val i: Int?, val third: Set<Third>?)

data class Third(val j: Int)

and the following data:

second[0].i = 1

Here all Second properties are nullable, but i value is defined, hence, Second.third property should be tolerated as null

@denis-zhdanov denis-zhdanov self-assigned this Nov 5, 2019
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

1 participant