Black Friday: 50% off yearlyEnds November 29

See pricing →

This lesson is for members

Already a member? Sign in to watch.

User Parameter Decorator

Next

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