We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc252ae commit e74af8dCopy full SHA for e74af8d
clients/algoliasearch-client-csharp/algoliasearch/Serializer/JsonConfig.cs
@@ -19,7 +19,6 @@ internal static class JsonConfig
19
UnmappedMemberHandling = JsonUnmappedMemberHandling.Skip,
20
Converters =
21
{
22
- new JsonStringEnumConverterFactory(),
23
new SearchResultConverterFactory()
24
}
25
};
templates/csharp/modelEnum.mustache
@@ -4,6 +4,7 @@
4
{{#description}}
5
/// <value>{{{.}}}</value>
6
{{/description}}
7
+ [JsonConverter(typeof(Serializer.JsonStringEnumConverter<{{datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}>))]
8
{{> visibility}} enum {{datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}
9
10
{{#allowableValues}}
0 commit comments