-
-
Notifications
You must be signed in to change notification settings - Fork 539
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
Null Reference Types cause CS8669 #1195
Comments
My idea was that you’d turn this on in the csproj - but this doesnt work because its autogenerated? |
jeremyVignelles
pushed a commit
to jeremyVignelles/NJsonSchema
that referenced
this issue
Jun 18, 2020
Added a `#nullable enable` directive in generated C# source only if `GenerateNullableReferenceTypes` is set to `true`. Fixes RicoSuter#1195
RicoSuter
pushed a commit
that referenced
this issue
Jun 24, 2020
* Added a `#nullable enable` directive Added a `#nullable enable` directive in generated C# source only if `GenerateNullableReferenceTypes` is set to `true`. Fixes #1195 * Fixed typo in Property name * Added default values for generated properties in NRT context
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please add explicit #nullable when null reference types are used. This happens even with Nullable is turned on at the project level.
The text was updated successfully, but these errors were encountered: