-
Notifications
You must be signed in to change notification settings - Fork 9.4k
FIX issue#26217 - Wrong fields selection while using fragments on GraphQL #26218
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
FIX issue#26217 - Wrong fields selection while using fragments on GraphQL #26218
Conversation
…phQL products query
Hi @phoenix128. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
Hi @lenaorobei, thank you for the review.
|
@magento run Integration Tests |
✔️ QA Passed |
@phoenix128, could you please add api-functional test to this PR with the query provided in the issue? |
…gments on GraphQL #26218
Hi @phoenix128, thank you for your contribution! |
Wrong fields selection while using fragments on GraphQL products query
Description (*)
The proposed solution is to use
\GraphQL\Type\Definition\ResolveInfo::getFieldSelection
to retrieve the fields list instead of the previsous implementation.Fixed Issues (if relevant)
Contribution checklist (*)