Shopify-api-node icon indicating copy to clipboard operation
Shopify-api-node copied to clipboard

Querying a field on the queryRoot?

Open hesedel opened this issue 5 years ago • 0 comments

I'm trying to retrieve the translatable content of a product like this:

    const query = `
      {
        translatableResource(resourceId: "${admin_graphql_api_id}") {
          translatableContent {
            digest
            key
            locale
            value
          }
        }
      }
    `


but then i just get an error that translatableResource is not on queryRoot

hesedel avatar Feb 12 '20 16:02 hesedel