Skip to content

Commit c67ae51

Browse files
committed
Bug fix: type names were being serialized to json as 'Nest.Resolvers.TypeNameMarkers' rather than type names
1 parent d5d85e0 commit c67ae51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/ElasticClient-MultiSearch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public MultiSearchResponse MultiSearch(MultiSearchDescriptor multiSearchDescript
3535
multiSearchDescriptor._FixedIndex ??
3636
new IndexNameResolver(this._connectionSettings).GetIndexForType(operation._ClrType);
3737

38-
var types = operation._Types.HasAny() ? string.Join(",", operation._Types) : null;
38+
var types = operation._Types.HasAny() ? string.Join(",", operation._Types.Select(x => x.Resolve(this.Settings)) ) : null;
3939

4040
var typeName = types
4141
?? multiSearchDescriptor._FixedType

0 commit comments

Comments
 (0)