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

Admin Generator Future: Allow using custom query for generating grid #1930

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

Ben-Ho
Copy link
Contributor

@Ben-Ho Ben-Ho commented Apr 10, 2024

this allows to use any query, also probably future api-generated additional queries.

for now the developer needs to make sure gqlType-value and response-type of query do match. I didn't see a simple solution to enforce this with typescript types. maybe we should add some warnings/errors in future.


PR Checklist

  • Verify if the change requires a changeset. See CONTRIBUTING.md
  • Link to the respective task if one exists:
  • Provide screenshots/screencasts if the change contains visual changes
Screenshots/screencasts

@Ben-Ho Ben-Ho self-assigned this Apr 10, 2024
@johnnyomair johnnyomair merged commit 23b29b3 into next Apr 17, 2024
11 checks passed
@johnnyomair johnnyomair deleted the admin-gen-configurable_grid-custom-query branch April 17, 2024 10:46
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

Successfully merging this pull request may close these issues.

3 participants