Skip to content

Conversation

@berkayerten
Copy link

I came up with a different proposal than the ticket suggests because I was a little bit confused with DefaultValueProvider accepting 2 different Types. Like, which type will the DefaultValue have? I could not make sense out of it, if I get the issue correctly.

Although it's a bit too many classes with the suggested way, it is both extendable for new Types as well as for new Providers. As an example I added a secondary provider and called it Maximum.

@sonarqubecloud
Copy link

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant