Closed NiclasLindqvist closed 4 years ago
When using ContentDelivery.Filter() the ContentFilterProperties property Match (which is an enum) was not serialized to a string, causing the Refit-request to send requests similar to
ContentDelivery.Filter()
ContentFilterProperties
Match
enum
{ "ContentTypeAlias": "product", "Properties":[ { "Alias": "nodeName", "Value": "Lorem", "Match": "0" } ] }
This is resolved by adding the attribute [JsonConverter(typeof(StringEnumConverter))]
[JsonConverter(typeof(StringEnumConverter))]
Seems like a sensible correction to me 👍
When using
ContentDelivery.Filter()
theContentFilterProperties
propertyMatch
(which is anenum
) was not serialized to a string, causing the Refit-request to send requests similar toThis is resolved by adding the attribute
[JsonConverter(typeof(StringEnumConverter))]