DEV Community

Discussion on: Injecting request object to a custom validation class in NestJS

Collapse
 
ssukienn profile image
Szymon Sukiennik

Did you ever managed to port a similar approach to graphql in Nest? Namely, to have access to part or even whole gql context inside validator or validation rule?

Collapse
 
avantar profile image
Krzysztof Szala

Hi!

No, I haven't tried to use it with GraphQL, sorry.