Two types of nodes, “Job” and “JobStatus”.
JobStatus stores information about a job’s status.
So it would be a 1 to 1 relationship.
- Is there any way to enforce a one to one relationship in the schema (graphQL/dgraph)?
- Is it possible to make it so each upsert/mutation of a Job’s jobStatus only modifies that one jobStatus (and doesn’t create another jobStatus) (without having to do uid shenanigans)?