We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphQL_PPX.bs.js
.bs.js
Hi. I'm using graphql-ppx to talk to Shopify API and I found the following in my .bs.js file:
graphql-ppx
import * as GraphQL_PPX from "@reasonml-community/graphql-ppx/bucklescript/GraphQL_PPX.bs.js";
This means I would need to include graphql-ppx as a dependency instead of devDependency in my ReScript project. Is that normal?
dependency
devDependency
I suspect this query is the culprit:
query SpecificCollections($ids: [ID!]!) @ppxConfig(schema: "schemas/shopify.json") { nodes(ids: $ids) { __typename ... on Collection { id ...CategoryCollectionFields } } } fragment ImageFields on Image @ppxConfig(schema: "schemas/shopify.json") { id url @ppxCustom(module: "ShopifyApi__Scalars__Url") altText width height } fragment MetafieldImageFields on Metafield @ppxConfig(schema: "schemas/shopify.json") { reference { __typename ... on MediaImage { image { ...ImageFields } } } } fragment CategoryCollectionFields on Collection @ppxConfig(schema: "schemas/shopify.json") { id title image: metafield(namespace: "ns", key: "ky") { ...MetafieldImageFields } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi. I'm using
graphql-ppx
to talk to Shopify API and I found the following in my.bs.js
file:This means I would need to include
graphql-ppx
as adependency
instead ofdevDependency
in my ReScript project. Is that normal?I suspect this query is the culprit:
The text was updated successfully, but these errors were encountered: