Skip to content

Commit fec86e3

Browse files
committed
Merge pull request #350 from freshmaker74/patch-1
Bug fix: type names were being serialized to json as 'Nest.Resolvers.Typ...
2 parents d5d85e0 + c67ae51 commit fec86e3

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)