Closed entropitor closed 2 years ago
Otherwise the status is always 500, which is not ideal, e.g. in case of a login mutation that failed because of an invalid password
These lines from express-graphql handles status and avoid setting it to 500 directly:
express-graphql
https://github.com/graphql-community/koa-graphql/blob/a5ea62198c342225fc769c02bbfa6bef15677c81/src/index.ts#L334-L340
Thanks
Otherwise the status is always 500, which is not ideal, e.g. in case of a login mutation that failed because of an invalid password