GraphQL: Add relatedToProducts/relatedToVariants RelationArgumentHandler
#4202
Unanswered
denisyilmaz
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Craft Commerce’s GraphQL API currently doesn’t provide
relatedToProducts/relatedToVariantsrelation handlers similar toEntryRelationCriteriaInput.For example, we can currently do:
I’d like equivalent relation criteria for products and variants so it’s possible to query entries (or other elements) that are related to specific products or variants, and to express structure-aware relations (e.g.
withStructure: true) in that context as well.Beta Was this translation helpful? Give feedback.
All reactions