Skip to content

createParamDecorator with services? #1251

Answered by MichalLytek
kevin-mitchell asked this question in Q&A
Discussion options

You must be logged in to vote

You should do all the heavy operation and populate the context before the GraphQL execution begins, just like you decode the jwt and put payload in context.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kevin-mitchell
Comment options

Answer selected by kevin-mitchell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants