aspnet / JsonPatch

[Archived] JSON PATCH library. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
103 stars 48 forks source link

ExpandoObjectAdapter should not assume case insensitivity #102

Closed jbagga closed 7 years ago

jbagga commented 7 years ago

The ExpandoObjectAdapter currently uses case insensitive search before getting/setting the value for the given segment.

Instead, the NamingStrategy configured in the IContractResolver should be used (with no assumptions about case insensitivity).

cc @rynowak @Eilon