nozzlegear / ShopifySharp

ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.
https://nozzlegear.com/shopify-development-handbook
MIT License
742 stars 308 forks source link

Document deserialization of interfaces in GraphQL queries #1028

Open clement911 opened 6 months ago

clement911 commented 6 months ago

See #1027

When interfaces are returned in the graphql response, the __typename field must be included in the response of the interface object and it must be the first field specified. This is so that the serializer knows which type to deserialize to.

nozzlegear commented 6 months ago

@Laurabee530 For my task board