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

Ensure CamelCasePropertyNamesContractResolver considers NamingStrategy in the cache #2930

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mahdi-ninja
Copy link

CamelCasePropertyNamesContractResolver uses a shared contract cache across all instances but it doesn't consider the fact that sometimes different instances use different naming strategies. #2927

In our case, we were using CamelCasePropertyNamesContractResolver in our ASP.NET app and then added Elsa Workflow which was using the same resolver with another naming strategy and broke our existing code. It is now fixed in Elsa Workflow (with this PR elsa-workflows/elsa-core#4521) but it took us a long time to understand what was wrong.

@mahdi-ninja
Copy link
Author

Hey @JamesNK
Do you plan to merge this? It feels like a serious bug to me

@narmontas
Copy link

We are having issues as well and would like this to be merged. @JamesNK

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.

None yet

3 participants