hey
@matic so I was trying to make a directives version of GraphQL Shield but I got sidetracked with what I really have to do, so I decided to give GraphQL Shield a try and I'v got to say,
I LOVE IT! Logic-based rules are so flexible, it is a really good middleware you made there... Anyway, I wrote a rules class with useful methods for a RBAC-type of permissions, though I'm not quite sure if it sticks to the RBAC definition at all, but it has roles and scopes and authentication check,
I thought you might want to give it a look and see if it makes any sense at all:
https://gist.github.com/dukuo/351f581e54b0af863f7155110e8f39c6 . looking forward to any comments from @everyone btw! Next step is to write unit tests to properly check that everything's in order.