hasura / hasura/graphql-engine
[Question] Actions & Nested Inserts
Open
c/actions
k/question
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
I am trying to use Actions and from my understanding, Actions seem to take away from the flexibility that Hasura offers. I have a `Customer` table with an array relationship to `Address` table, and there is a custom logic for validating addresses.
If a custom Action is created -- insert_address, will that action apply if I do a nested insert of Address along with Account through the relationship? It looks like I will have to insert Account first and then insert Addresses through the action.
Contributor guide
Assessment
This issue has not been assessed yet.