This repository has been archived by the owner on Dec 19, 2019. It is now read-only.
Implement support for variables in query #93
Labels
Contribution Day
Tickets is good for start on Contribution Day
framework
in-progress
medium
pwa-required
Milestone
Preconditions
Steps to reproduce
with variables:
Expected result
ProductFilterInput
is an input type, according to schemeActual result
I've tested this approach on clean GraphQL installation and it worked without any problem.
EDIT:
After hours of debugging and testing, it turned out that this isn't even implemented. Any type given is mapped as OutputType, which finally breaks the query, as output types can't be used as query parameters. I made a workaround that works for my case for now, but it would be awesome if it was included in the core. I could share my solution with you but it's rather ugly and not universal so I doubt it could be any use for you.
The text was updated successfully, but these errors were encountered: