Skip to content

json: cannot unmarshal string into Go struct field MoneyV2.data.products.edges.node.priceRange.maxVariantPrice.amount of type float64 #4

@debtanu-pal

Description

@debtanu-pal

The price is returned as a string in the graphQL response but the schema in the client treats it as float64. This causes the error mentioned above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions