C# Nest Serialization of GeoShapeBase

Hi,

I'm trying to do a search and return the a object containing a geocircleshape across a service in Azure service fabric. I am receivine the error:

"Type 'Nest.GeoShapeBase' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types."

I've tried adding the DataMember attribute to my "List<Nest.CircleGeoShape>" and I still receive the same error. It seems to be an issue at the Nest level.

Any ideas?

Thanks!

bump :slight_smile:

Hi,

I'm closing this topic now as you've already created a Github issue for that so let's keep the discussion there.

Daniel