I have one problem about datas. I want to delete nodes that has null data from UI. But the problem is that is giving error as “Cannot return null for non-nullable type (line 7, column 36): id comment createdAt createdBy { id } post { id } updatedAt ^”
so how can I remove items without know IDs? I cannot see or check them on data page because of this error.
n
nilan
06/14/2017, 9:38 AM
@the_bluescreen it looks like there is a required relation defined. You can remove the required constraint for this relation and then remove the affected nodes
nilan
06/14/2017, 9:39 AM
@the_bluescreen do you remember how your nodes ended up being in an inconsistent state? it looks like we are not handling a specific mutation correctly for required relations
t
the_bluescreen
06/14/2017, 9:49 AM
I’m wondering that, too 🙂 I was just testing my app and I added some comments, that’s all. Btw I still can see the wrong datas on my app without any error but I’m getting error on graphcool UI.
the_bluescreen
06/14/2017, 9:50 AM
@nilan, I can send the example code to you from PM if u want
n
nilan
06/14/2017, 1:07 PM
yes @the_bluescreen that would be very helpful. Can you also include your project id?