File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
src/Elastic.Clients.Elasticsearch/FutureGenerated Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ internal sealed class AggregateDictionaryConverter : JsonConverter<AggregateDict
280280 var nameParts = name . Split ( '#' ) ;
281281
282282 if ( nameParts . Length != 2 )
283- throw new JsonException ( "Unable to parse typed-key from aggregation name" ) ;
283+ throw new JsonException ( $ "Unable to parse typed-key from aggregation name ' { name } ' ") ;
284284
285285 // Bucket-based Aggregates
286286
@@ -2547,4 +2547,16 @@ public sealed partial class GetAsyncSearchRequestDescriptor
25472547 // Any request may contain aggregations so we force typed_keys in order to successfully deserialise them.
25482548 internal override void BeforeRequest ( ) => TypedKeys ( true ) ;
25492549 }
2550+
2551+ public partial class AsyncSearchSubmitRequest
2552+ {
2553+ // Any request may contain aggregations so we force typed_keys in order to successfully deserialise them.
2554+ internal override void BeforeRequest ( ) => TypedKeys = true ;
2555+ }
2556+
2557+ public partial class AsyncSearchSubmitRequestDescriptor < TDocument >
2558+ {
2559+ // Any request may contain aggregations so we force typed_keys in order to successfully deserialise them.
2560+ internal override void BeforeRequest ( ) => TypedKeys ( true ) ;
2561+ }
25502562}
You can’t perform that action at this time.
0 commit comments