I am using GraphQL library for Neo4j.
How can I define a property on a type (e.g. tenantId: String!) which will take its value from the 'tid' property of the jwt auth token?
I currently use a '@bind' on the $jwt.sub but ideally, the 'tenantId' field will not appear in generated queries/mutations - I'm hoping the '@computed' directive can achieve all of this but I don't see how to define the property on the type to compute the field from the jwt property...
Any help appreciated - thanks.