I really wonder the best way of creating advanced mutations with relation types. Please let me explain my question clearly.
Imagine that, I have 3 types which names are Account and Account Group and User. Each user can create their own accounts and account groups.
Now lets think, one user want to create account and he will select account group to create account.
In this point I normally pass accountGroupID to createAccount mutation and used connect keyword to bind account and account group, it works fine.
The problem is that, i have to check that account group is created by this user or not.
There are too many this kind of relation in my API. What is the best way of checking this kind of relations before send mutation?