Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

List<T> is nullable when using -nr #332

Closed
las-nsc opened this issue Jun 6, 2022 · 0 comments · Fixed by #336
Closed

List<T> is nullable when using -nr #332

las-nsc opened this issue Jun 6, 2022 · 0 comments · Fixed by #336

Comments

@las-nsc
Copy link
Contributor

las-nsc commented Jun 6, 2022

When generating a List<T> from an XSD using the -nr flag, it is given MaybeNullAttribute, but is also initialised in the ctor and has a private setter, so can never be null. Surely this shouldn't be there?

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

Successfully merging a pull request may close this issue.

1 participant