Closed adams85 closed 1 year ago
Looks like Sonar doesn't like SHA1 :( How to make it understand that it's safe in this case?
Looks like Sonar doesn't like SHA1 :( How to make it understand that it's safe in this case?
Did it for ya!
You're the man! Thanks 👍
Kudos, SonarCloud Quality Gate passed!
Please point me to the right direction. Where did the UX change? Which files should I focus on?
Only the first commit is relevant from the UX standpoint. First of all, there's a Trello ticket about improving the error message when the type of the default value and the type of the actual value mismatch. This is done here. On top of that, I also improved the logic of the GetValueXXX
methods to fail early if the default value type is not supported. This also aligns the behavior with other SDKs like the Swift one.
Kudos, SonarCloud Quality Gate passed!
Did it for ya!
@z4kn4fein Sonar complains about SHA1 again, so please, do your magic again. :)
Describe the purpose of your pull request
GetValue<T>
,GetValueDetails<T>
, etc. methods fail early if the specified CLR type is not supported. Secondly, provides a meaningful error message when the specified CLR type and the setting type mismatch.Requirement checklist (only if applicable)