Swagger API cannot use method $expand and $select for latest ver

Saturday, May 4, 2024 6:06:56 PM
  • Posted: Thursday, February 15, 2024 2:47 AM
  • 6
Hi, im having problem to do query for this api {{base_url}}/odata/Product?$expand=ProductPictures

its return error Type Microsoft.OData.Edm.EdmModel is not configured as a type that is allowed to be serialized for this instance of ObjectSerializer.

im using grandnode latest image
0
  • Posted: Saturday, February 17, 2024 6:18 PM
  • Team
  • 151
It seems you're encountering a known limitation with the MongoDB libraries' support for OData operations within GrandNode. The error you're facing is due to the current MongoDB library version not fully supporting OData features, which results in serialization issues.
However, there's good news. A prerelease library is available that introduces support for the Select operation in OData queries. I hope, this enhancement will be target for inclusion in the upcoming grandnode version 2.2.
0
back to top
Filters