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

Craft 3.3 GraphQL relatedto argument #5071

Open
smcyr opened this issue Oct 9, 2019 · 1 comment

Comments

@smcyr
Copy link

commented Oct 9, 2019

Description

There isn't an argument relatedTo in GraphQL to fetch, for example, entries associated to a category. Is there an alternative or is relatedTo gonna be added to GraphQL?

@smcyr smcyr changed the title Craft 3 Graphql relatedto Craft 3.3 Graphql relatedto Oct 9, 2019
@smcyr smcyr changed the title Craft 3.3 Graphql relatedto Craft 3.3 GraphQL relatedto argument Oct 9, 2019
@andris-sevcenko

This comment has been minimized.

Copy link
Member

commented Oct 10, 2019

relatedTo will be added to GraphQL, but it will support element IDs only, as there's no feasible way of providing a list of, say, categories to a GraphQL query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.