Can GraphQL edges and nodes be "turned off"?

Highlighted
Tourist
4 0 0

Hi, is is possible to make a GraphQL request to the Admin API, and request that edges and node elements are not included in the response?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
643 78 141

Hey @pjakobsen,

I'm not aware of a way to filter the edges and nodes fields from the response. If you're looking to make the response easier to read, you can try renaming a field in the response with the syntax newName:field where field is the original field name.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes