Skip to content

Commit b3a4109

Browse files
committed
MultiGetOperation can now be deserialized
MultiGetOperation can now be deserialized as it now has a default JsonConverter MultiGetOperationDescriptor<object> Resolved #1415
1 parent 6b1bea4 commit b3a4109

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Nest/DSL/MultiGet/IMultiGetOperation.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
using System;
22
using System.Collections.Generic;
3+
using Nest.Resolvers.Converters;
34
using Newtonsoft.Json;
45

56
namespace Nest
67
{
78
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
9+
[JsonConverter(typeof(ReadAsTypeConverter<MultiGetOperationDescriptor<object>>))]
810
public interface IMultiGetOperation
911
{
1012
[JsonProperty(PropertyName = "_index")]

0 commit comments

Comments
 (0)