Can't dump graphql schema, rake task no longer exists (shopify_api:graphql:dump)

I’m updating the Shopify API version, and as usually ran this:

rake shopify_api:graphql:dump SHOP_DOMAIN="your-dev-shop.myshopify.com" ACCESS_TOKEN="shops access token," API_VERSION=api-version

But then got an error “Don’t know how to build task ‘shopify_api:graphql:dump’”

I ran “rake --tasks” and see that rake task is no longer available. It seems like it got removed after updating shopify_api or shopify_app gem at some point.

Does anyone know how to get that rake task back?

Thanks

Hi @JoesIdeas :waving_hand:

Issues with the shopify-api-ruby library can be submitted directly to the public repo here.

Hope that helps!

1 Like