Skip to content

Field must have selections field 'price' returns MoneyV2 but has no selections #967

Open
@jackdaniel8

Description

@jackdaniel8

Please complete the checklist before filing an issue:

Bug details

Describe the bug

Hello, new bug that appeared recently on an application made in 2021.

[ { "message": "Field must have selections (field 'price' returns MoneyV2 but has no selections. Did you mean 'price { ... }'?)", "locations": [ { "line": 1, "column": 56 } ], "path": [ "fragment VariantFragment", "price" ], "extensions": { "code": "selectionMismatch", "nodeName": "field 'price'", "typeName": "MoneyV2" } }, { "message": "Field must have selections (field 'compareAtPrice' returns MoneyV2 but has no selections. Did you mean 'compareAtPrice { ... }'?)", "locations": [ { "line": 1, "column": 133 } ], "path": [ "fragment VariantFragment", "compareAtPrice" ], "extensions": { "code": "selectionMismatch", "nodeName": "field 'compareAtPrice'", "typeName": "MoneyV2" } } ]

Environment (please complete the following information):
"@types/shopify-buy": "^2.10.5",

Do you have any idea what is causing this error now? This is not an application made by us, so we only need a little help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions