Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix key duplication/handle camel case names #645

Merged
merged 1 commit into from
Feb 16, 2020

Conversation

AdrianWilczynski
Copy link
Contributor

This should fix #629 - duplication of properties when non-pascal case name is used.

I go through existing properties with Object.keys() and look for a matching key regardless of its casing. If I can find one, I use it. If there isn't one, I default to using pascal case name.

Sorry again that it took so long 😓

@josefpihrt josefpihrt closed this Feb 10, 2020
@josefpihrt josefpihrt reopened this Feb 10, 2020
@josefpihrt
Copy link
Collaborator

Hi, thanks for the fix.

I merged 2019 into master and deleted 2019. Could you please change base branch of this PR to master?

@AdrianWilczynski
Copy link
Contributor Author

Sorry for the mix-up. It should be set to master now.

@josefpihrt josefpihrt merged commit 4575489 into dotnet:master Feb 16, 2020
@josefpihrt
Copy link
Collaborator

Thanks again for the contribution!

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.

System.FormatException: A duplicate key 'RoslynExtensionsOptions:EnableAnalyzersSupport' was found.
2 participants