Hi
We have experienced a problem while implementing a pact test from consumer side.
Although our C#.Net Object has all properties in PascalCase, And when our pact test execution is complete, it converts all the properties into camel case if the CamelCasePropertyNamesContractResolver is used. However, this conversion does not apply to C# Anonymous Types.
For instance:
We have a property
public object BusinessRules { get; set; }
Matcher code
BusinessRules = Match.Type(new
{
Comments = Match.Type("This is a comment"),
})
For some reason only businessRules is properly converted into camelcase. But Comments remain in Pascal case.
Any Specific reason why the CamelCasePropertyNamesContractResolver is not applied to Anonymous Types
#C9UTHV2AD