Closed kescherCode closed 1 year ago
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?
Awesome, thanks!
Fixes https://github.com/MapsterMapper/Mapster/issues/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 hasNullable
enabled.