Skip to content

Types for cart.lines not generated #44

@andershagbard

Description

@andershagbard

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"
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions