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

Remove the resolver for attributesInstances, which caused a graphql error #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndyMardell
Copy link

See #2 for full details on this issue.

Removing these lines results in the products attribute instance falling back to the Magento\CatalogGraphQl\Model\Resolver\Products\FilterArgument\ProductEntityAttributesForAst resolver, which fixes the issue.

…rror

- In etc/di.xml there was an override for the `products` attribute instance
- This caused an error when filtering products via the standard Magento `products` query
- Fixes mageplaza#2
@vidyli
Copy link

vidyli commented Mar 23, 2021

I also have this problem, can any body merge this PR ASAP?

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

Successfully merging this pull request may close these issues.

attributesInstances dependency injection breaks Magento product filtering with GraphQL
2 participants