-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support ForEach queries #24
Labels
enhancement
New feature or request
Comments
sordina
added
feature-request
enhancement
New feature or request
and removed
feature-request
labels
Oct 12, 2023
One problem right now is that arguments are just |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This isn't required for simple N+1 relationships, we would use this for optimised commands.
For example, a function definition could support batch api calls if exposed with array parameter annotation.
Exposes
users_are_active
as normal, anduser_is_active
as if it hadid
parameter instead ofids
and uses Variables capability to wire up relationships.N+1 Engine Feature: https://hasurahq.atlassian.net/browse/V3API-194
While we design a solution that would allow per-function batch behaviour declaration that the engine can dispatch on, we could implement blankey ForEach support in TS connector and make the decision to perform a batch call in the connector.
The text was updated successfully, but these errors were encountered: