hasura / hasura/graphql-engine
V2 dynamic null queries
Open
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
I used to be able to have a dynamic category_id INT field, if I sent it null it would retrieve items from all categories and if I sent it an integer it would get items from that category. I have already seen in the release notes why this has been changed and it does make a lot of sense. However it is a bit annoying to have to write 2 queries in every case. Rather than having a 'dangerous' global switch it would be great to have some query type for this situation like 'Int_nullable' ... just a thought.
Contributor guide
Assessment
This issue has not been assessed yet.