Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use metadata to get information from decorators #13654

Closed
1 task done
SonderRill opened this issue Jun 6, 2024 · 2 comments
Closed
1 task done

How to use metadata to get information from decorators #13654

SonderRill opened this issue Jun 6, 2024 · 2 comments
Labels
needs triage This issue has not been looked into type: enhancement 🐺

Comments

@SonderRill
Copy link

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

I would like to have a map of my code and understand how reflection works.

Describe the solution you'd like

For example, I want to get a list of all requests with the roles that are available in them. To simply get a route with a list, a method description from @ApiOperation and an available set of roles

Teachability, documentation, adoption, migration strategy

I found the ModulesContainer module, which contains a lot of interesting things. But I still couldn’t access all my controllers

What is the motivation / use case for changing the behavior?

Nowhere is it described how to work with this. I'm often looking for something where I need to get information from decorators from different places, but I've never been able to find something that makes sense and works

@SonderRill SonderRill added needs triage This issue has not been looked into type: enhancement 🐺 labels Jun 6, 2024
@ajlchiban
Copy link

Sh repo

@kamilmysliwiec
Copy link
Member

Thank you for taking the time to submit your report! From the looks of it, this could be better discussed on our Discord. If you haven't already, please join here and send a new post in the #⁠ 🐈 nestjs-help forum. Make sure to include a link to this issue, so you don't need to write it all again. We have a large community of helpful members, who will assist you in getting this to work.

@nestjs nestjs locked and limited conversation to collaborators Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage This issue has not been looked into type: enhancement 🐺
Projects
None yet
Development

No branches or pull requests

2 participants