User Parameter Decorator
2:56Captions in 6 languages
A developer creates a custom parameter decorator in a NestJS application to extract user data from a GraphQL request. The process involves defining the decorator in a TypeScript file and then applying it within a resolver to log the authenticated user ID during query execution.
Chapters
Discussion
Members ask questions and comment on any lesson, and Michael replies.
Sign inNothing here yet.