FROM CACHE - en_header

Can GraphQL edges and nodes be "turned off"?

pjakobsen
Tourist
6 0 1

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?

Reply 1 (1)
_JB
Shopify Staff
Shopify Staff
836 99 211

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 | Solutions Engineer @ Shopify 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog