nickredmark / graphql-mongodb-example

Home Page:https://medium.com/the-ideal-system/graphql-and-mongodb-a-quick-example-34643e637e49

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't access _id of null. On createComment mutation

opened this issue · comments

Hello Nick,
If we use the createCommet mutation it will throw a TypeError.
It's just a single value in which you access insertIds array with 0 insetead of 1
image