This is a foreign key problem. I just wanted to add a list of competitor’s solutions to this GraphQL problem. Obviously sql also handles this internally @reference.
Pay particular attention to this Prisma Solution in the schema.
Look familiar to my idea?
Delete
- Neo4j - Nested Delete
- Prisma - Cascade
- Hasura - Delete all objects
Update
- Neo4j - Nested Create
- Hasura - Update Object based on nested fields
- Prisma - Nested Writes
J