InterviewBuddy
All interview questions

What is a custom decorator?

Intermediate

Answer

A custom decorator wraps reusable metadata or parameter extraction logic. Keep authorization decisions in trusted guards or services rather than only a decorator label.