Is it possible to add a where query globally? Foto...
# random
s
Is it possible to add a where query globally? Foto example if i have a multitenant solution where i want to query on tenantId on on every query and mutation?
l
I have a multi tenant app. Yes you can, you just need to architect the GraphQL nodes correctly, e.g.
tenant(where: {id: 'stuff'}) { products { ... } }