{"errors":[{"message":"test is invalid.","path":["login"],"extensions":{"code":"INTERNAL_SERVER_ERROR","exception":{"message":"test is invalid.","path":["login"],"stacktrace":["GraphQLError: test is invalid."," at login (file:///****/AuthModule.js:113:17)"," at processTicksAndRejections (node:internal/process/task_queues:96:5)"," at async file:///***/@graphql-tools/batch-execute/index.mjs:354:36"," at async Promise.all (index 0)"," at async DataLoader.batchExecuteLoadFn [as _batchLoadFn] (file:///****/@graphql-tools/batch-execute/index.mjs:352:25)"]}}}],"data":null}
Hello,
I'm following the documentation page https://villus.logaretm.com/guide/mutations/#handling-errors but I'm receiving an undefined response from the mutation.
My method
Response from the server
Result from the console
Versions:
Is this an issue or what I'm doing wrong?
Thanks in advance!