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

Allow vouchers to be queryable with GraphQL #109

Open
StormySan opened this issue Dec 6, 2022 · 0 comments
Open

Allow vouchers to be queryable with GraphQL #109

StormySan opened this issue Dec 6, 2022 · 0 comments

Comments

@StormySan
Copy link

What are you trying to do?

Craft's GraphQL API is being used for more sites to query data, simplifying a lot of data queries - in some sites I'm working on it is now used for all site search queries.

Vouchers are not currently available for selection via GraphQL though, which means these queries cannot return any data related to them for product searches.

What's your proposed solution?

Add GQL mapping for Vouchers to allow them to be queried via GraphQL as per https://craftcms.com/docs/4.x/extend/graphql.html

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant