graphql-clj icon indicating copy to clipboard operation
graphql-clj copied to clipboard

If required field return nil, the connection is close, but no exception is thrown

Open qwwwpp opened this issue 5 years ago • 0 comments

for example, in

type User {
  id: String!
}

if id's resolver function returns nil, the connection will be closed. But there is no stack trace or Exception printed to the console, and the following resolver function will throw error, which is very misleading

qwwwpp avatar Feb 10 '20 21:02 qwwwpp