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

Add where args to GQL query #3

Open
onn-software opened this issue Feb 23, 2023 · 0 comments
Open

Add where args to GQL query #3

onn-software opened this issue Feb 23, 2023 · 0 comments

Comments

@onn-software
Copy link
Owner

We should extend the GQL schema to support a where clause. In the schema generator we could add a __WHERE_TYPE__ and make it an type that shares the same keys are type, and takes in arrays of it's value type. This we can use in the sql where clause.

${key}(paginate: Paginate, where: __WHERE_TYPE__): Paginated${type}

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

No branches or pull requests

1 participant