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

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

Open
jackdaniel8 opened this issue Sep 28, 2023 · 0 comments

Comments

@jackdaniel8
Copy link

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.

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