Description
Elastic.Clients.Elasticsearch version: 8.11
Elasticsearch version: 8.8
.NET runtime version: 8.0
Operating system version: Osx
Description of the problem including expected versus actual behavior:
When making calls to Indicies.Get and setting the Features or ExpandWildcards on the GetIndexRequest object the ICollections are not getting parsed properly for the underlying API call. Looking at the stack trace you'll see something like: Invalid Elasticsearch response built from a unsuccessful (400) low level call on GET: /%2A?features=System.Collections.ObjectModel.Collection%601%5BElastic.Clients.Elasticsearch.IndexManagement.Feature%5D\n
Steps to reproduce:
- Make a call to the Indicies.Get setting either the features or expandwildcards option
Expected behavior
For the features it should expand out the collections properly [aliases] in this case.