File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/Elastic.Clients.Elasticsearch.Shared/Serialization Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 77using System . Text . Json . Serialization ;
88using System . Threading ;
99using System . Threading . Tasks ;
10+
1011using Elastic . Transport ;
1112
1213#if ELASTICSEARCH_SERVERLESS
@@ -42,7 +43,11 @@ public DefaultRequestResponseSerializer(IElasticsearchClientSettings settings) :
4243 new IsADictionaryConverterFactory ( ) ,
4344 new ResponseItemConverterFactory ( ) ,
4445 new DictionaryResponseConverterFactory ( settings ) ,
45- new UnionConverter ( )
46+ new UnionConverter ( ) ,
47+ // TODO: Remove after https://github.com/elastic/elasticsearch-specification/issues/2238 is implemented
48+ new StringifiedLongConverter ( ) ,
49+ new StringifiedIntegerConverter ( ) ,
50+ new StringifiedBoolConverter ( )
4651 } ,
4752 PropertyNamingPolicy = JsonNamingPolicy . CamelCase ,
4853 NumberHandling = JsonNumberHandling . AllowReadingFromString | JsonNumberHandling . AllowNamedFloatingPointLiterals
You can’t perform that action at this time.
0 commit comments