Is it possible to make create mutations where you ...
# prisma-whats-new
y
Is it possible to make create mutations where you specify the id ?
d
Do you mean use a mutation to change the ID? If so then no, you can't do that.
y
No i want to provide the id and not let graphcool do it. e.-g. if I have my own guid generator
d
No, you can't do that. If you have an external ID that you need to use, you will have to store it in a separate field.
y
oh thats really annoying when you have nested structures beyond the limitatio in graph cool
d
what limitation are you running afoul of?
y
You can only do three levels of nesting
d
I've run into that as well - you could put your support behind my feature request on it: https://github.com/graphcool/feature-requests/issues/313
In the meantime, I am using nested create mutations up to the limit and then doing separate mutations to add the deeper nested stuff
y
yeah we do the same thing here. Really slow and annoying. What would also really help would be the ability to simply upload a json
d
FYI, nested mutations just got support for one more level: https://github.com/graphcool/feature-requests/issues/313#issuecomment-327100616