graphene-django-cud
graphene-django-cud copied to clipboard
Create and update mutations referencing not-yet-created entries
One thing that would be nice to have is the possibility to create complex mutations with relations referring to objects that have not yet been created. For instance:
mutation{
createSomething(input: {
_id: "ID1",
field: "Value",
someRelation: [{
anotherField: "value",
someNonObviousRelationField: "ID1"
}]
}){
...
}
Clearly, this issue must include a fair bunch of complex logic to ensure all IDs are resolved before usage.
This is a larger undertaking and will be postponed for at least one release.