Skip to content

Commit 9ab4a7c

Browse files
Mpdreamzgmarz
authored andcommitted
Added IDomainObject
1 parent 6b1bea4 commit 9ab4a7c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/Nest/Domain/ICustomJson.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@ public interface ICustomJson
77
{
88
object GetCustomJson();
99
}
10+
11+
public interface IDomainObject
12+
{
13+
14+
}
1015
}

src/Nest/ExposedInternals/NestSerializer.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ public virtual T Deserialize<T>(Stream stream)
8585
return DeserializeUsingSettings<T>(stream, settings);
8686
}
8787

88-
89-
9088
/// <summary>
9189
/// Deserialize to type T bypassing checks for custom deserialization state and or BaseResponse return types.
9290
/// </summary>

src/Nest/Resolvers/ElasticContractResolver.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ protected override IList<JsonProperty> CreateProperties(Type type, MemberSeriali
122122
defaultProperties = PropertiesOf<IInnerHitsContainer>(type, memberSerialization, defaultProperties, lookup);
123123
//defaultProperties = PropertiesOf<IGlobalInnerHit>(type, memberSerialization, defaultProperties, lookup);
124124
defaultProperties = PropertiesOf<IInnerHits>(type, memberSerialization, defaultProperties, lookup);
125+
defaultProperties = PropertiesOf<IDomainObject>(type, memberSerialization, defaultProperties, lookup);
125126
return defaultProperties;
126127
}
127128

0 commit comments

Comments
 (0)