This lesson is for members

Already a member? Sign in to watch.

User Parameter Decorator

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

Length
2:56
Captions
English (Generated), Spanish (Auto-translated), French (Auto-translated), Korean (Auto-translated), Portuguese (Auto-translated), Vietnamese (Auto-translated)
#typescript#nest.js#graphql#jwt#decorator#programming#software development#coding#authentication

Questions

Members can ask questions about any lesson, and Michael answers them.

Sign in

No questions yet.