Skip to content
New issue

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

Types for cart.lines not generated #44

Open
andershagbard opened this issue Aug 2, 2023 · 0 comments
Open

Types for cart.lines not generated #44

andershagbard opened this issue Aug 2, 2023 · 0 comments

Comments

@andershagbard
Copy link

andershagbard commented Aug 2, 2023

Types for cart.lines not generated

query Input {
  deliveryCustomization {
    metafield(namespace: "$app:checkout-delivery-by-product-data", key: "function-configuration") {
      value
    }
  }
  cart {
    lines {
      cost {
        totalAmount {
          amount
        }
      }
    }
    deliveryGroups {
      deliveryOptions {
        title
        handle
      }
    }
  }
}

IDE output:
image

It works fine if I change query_path and schema_path to like this: (Note missing ./ before file name)

generate_types!(
    query_path = "input.graphql",
    schema_path = "schema.graphql"
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant