Custom converter for class which contains a property with an interface type

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch cluster version is 2.15.0
OpenSearch.Client version is 1.7.1

Describe the issue:
I do have class which contains an property with an interface type. When trying to retrieve documents from the cluster I get an error due to the failing deserialization.

I would like to specify which class is used for the property when deserializing.

The settings do not provide an option for setting a converter, or at least I can’t find them.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.