#@Headers etc. availability
3 messages · Page 1 of 1 (latest)
@Headers(), @Query(), @Body(), etc. are only for the @Controller() class's method's parameters. This is because they set metadata for the index ofthe parameter that Nest will later read and know how to map the entire request object to the parameters of the method
Gotcha - makes sense. Thanks!