docs.nestjs.com icon indicating copy to clipboard operation
docs.nestjs.com copied to clipboard

Add docs for `DiscoveryService.createDecorator`

Open micalevisk opened this issue 2 years ago • 2 comments

there's no mention about DiscoveryService built-in provider from @nestjs/core

so there's no mention about the feature add in nestjs v10.2.0 https://github.com/nestjs/nest/pull/12107

I'd like to see the DiscoveryService.createDecorator somewhere in the docs like we have for Reflector.createDecorator. Not sure where, tho :thinking:

This is to clarify mainly this:

  1. we can't use the same decorator more than once for each target class because only the first (top-down order) one will be taken into account

micalevisk avatar Oct 08 '23 14:10 micalevisk

Is there something in progress? It would be absolutely great to have this documented.

Thx :)

andreasvh-conceto avatar Jun 05 '24 21:06 andreasvh-conceto

@andreasvh-conceto I won't work on this soon

Feel free to open a PR to address this

micalevisk avatar Jun 05 '24 21:06 micalevisk