Andrei Bacescu
02/22/2019, 12:09 PMtype Query {
node(id: ID!): Node
....
}
I saw this code in prisma.graphql
file generated by prisma-client
library. Thanks in advance.Harshit
02/22/2019, 12:24 PMHarshit
02/22/2019, 12:24 PMAndrei Bacescu
02/22/2019, 12:34 PMHarshit
02/22/2019, 12:44 PMAndrei Bacescu
02/22/2019, 12:53 PMgraphqlgen
library doesn't like this node field, ( it give me this error: UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'map' of undefined
). If I comment this line in prisma.graphql
, graphqlgen
works like a charm, but I don't understand what this node field does.