From what I gather, there is currently no native way of enforcing a namespace / multi-tenancy aspect that’s required for any modern SaaS project.
Is there a way to introduce middleware into the Dgraph server that would allow us to wrap / constraint any query / mutation by assessing for example a JWT auth token and wrapping the incoming query with a
// jwt { name: "johndoe" }
q(func: has(namespace-johndoe)) {
... incoming query ...
}