Skip to content

Conversation

@kescherCode
Copy link
Contributor

Fixes #337 for Mapster.Tool

This allows to add "--nullableDirective" to the options already set within a given csproj file to add an #nullable enable, in order to suppress CS8669 warnings that are raised specifically due to generated source files having to add this directive even if a project has Nullable enabled.

@andrerav
Copy link
Contributor

Hi @kescherCode, thank you for contributing this, this has been requested a few times now so I think you will make a lot of people happy :) Would you consider adding a short form option as well? The obvious choice (-n) is already taken, but perhaps -N will work?

@andrerav andrerav self-assigned this Jan 29, 2023
@andrerav
Copy link
Contributor

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include #nullable enable to generated files

2 participants