3 ms·
I wrote about this last year, https://zach.codes/handling-auth-in-graphql-the-right-way/ https://zach.codes/handling-auth-in-graphql-the-right-way/ it can be pr
by zackify 9y ago
I wrote about this last year, https://zach.codes/handling-auth-in-graphql-the-right-way/ https://zach.codes/handling-auth-in-graphql-the-right-way/ it can be pretty easy to do, but nobody talks about it...
Write a parent function that all resolvers go through. you can then add checks if the resolver is public, or whatever you want