Skip to content

Add docs for DiscoveryService.createDecorator #2876

Open
@micalevisk

Description

@micalevisk

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 nestjs/nest#12107

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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions