Sorry, I think I didn’t express myself correct. You wouldn’t need JWT to achieve your requested @showDeleted behaviour right now. Adding @auth(query: {rule: "query {queryFoo(filter: {not: {has: deletedAt}}) {deletedAt}}"}) to your queries (and setting the flag with update) would be sufficient. Of course you could just omit this directive when instead you want to allow queries on deleted objects.
Edit Sorry, I missed the part where you said that you want @showDeleted on client-side. My bad.
I’m also not aware of any graph-databases but I have seen pre- and post-hooks in prisma-nexus (SQL schema → GQL Crud API generation). See: feat: support custom resolvers by craigspaeth · Pull Request #674 · graphql-nexus/nexus-plugin-prisma · GitHub