So I’m trying to handle Prisma API errors in case ...
# orm-help
p
So I’m trying to handle Prisma API errors in case they occur. I’ve followed this tutorial: https://dev.to/andre/handling-errors-in-graphql--2ea3 despite it being in typescript (I’m working in JS). Everything has worked besides the helmet, I’ve implemented the helmet resolver the same way, but when I pass the resolver into the helmet resolver it returns an empty query, if it’s not wrapped in helmet it works. getSchools: (parent, args, context, info) => helmet(getSchools(parent, args, context, info)) any help would be appreciated, Thanks