Fork me on GitHub
Brian Abbott10:02:16

Has anyone done Authorization in Lacinia?


@briancabbott Yeah, it should work roughly the same way as any other GraphQL server library. Typical way is to store the current user in the context map and then resolvers check for authorization. Any number of abstractions can be built on top of that but that's the core idea.