Skip to content

Suggestion: defaults configuration #2

Description

@AntonC9018

E.g. being able to specify the default options for null checks could be useful. I want to get rid of the autogenerated null checks in the constructor by default. I can't do that by default, being forced to pass in NullChecks = NullChecks.Never manually on each invocation.

I suggest adding a Default option to the enum, which would mean that it draws the value based on the ambient configuration, which could be configured via an assembly level attribute or an MSBuild property.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions