Accessing node's full path in graphene middleware

286 Views Asked by At

I am trying to add some logging to my graphene server utilizing a middleware. As per the documentation (Docs - 3.2.3), I can view some limited path info from the parent by pulling out the name from the root's meta node (root._meta.name which will result in Ex. Three.Four), but I am looking to get the full path of the current node being resolved (One.Two.Three.Four). Is there any way to access this info through the middleware?

1

There are 1 best solutions below

0
On BEST ANSWER

You can use info.path to get this.