Skip to content

Commit b9069c1

Browse files
committed
fix the build, broken after merge to 7.x
1 parent 9c8f8b9 commit b9069c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Nest/Search/ITypedSearchRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Nest
55
{
66
/// <summary> Signals the type to deserialize hits into </summary>
77
[InterfaceDataContract]
8-
public interface ISearchTypeInformation
8+
public interface ITypedSearchRequest
99
{
1010
Type ClrType { get; }
1111
}

src/Nest/Search/Scroll/Scroll/ScrollRequest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Nest
55
{
6-
public partial interface IScrollRequest : ISearchTypeInformation
6+
public partial interface IScrollRequest : ITypedSearchRequest
77
{
88
[DataMember(Name ="scroll")]
99
Time Scroll { get; set; }
@@ -24,14 +24,14 @@ public ScrollRequest(string scrollId, Time scroll)
2424

2525
public string ScrollId { get; set; }
2626

27-
Type ISearchTypeInformation.ClrType => null;
27+
Type ITypedSearchRequest.ClrType => null;
2828
}
2929

3030
public partial class ScrollDescriptor<TInferDocument> where TInferDocument : class
3131
{
3232
public ScrollDescriptor(Time scroll, string scrollId) => ScrollId(scrollId).Scroll(scroll);
3333

34-
Type ISearchTypeInformation.ClrType => typeof(TInferDocument);
34+
Type ITypedSearchRequest.ClrType => typeof(TInferDocument);
3535

3636
Time IScrollRequest.Scroll { get; set; }
3737

0 commit comments

Comments
 (0)