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

Question: Best way to get nullable annotation metadata at runtime #52876

Closed
JamesNK opened this issue May 18, 2021 · 4 comments
Closed

Question: Best way to get nullable annotation metadata at runtime #52876

JamesNK opened this issue May 18, 2021 · 4 comments
Labels
area-System.Reflection question Answer questions and provide assistance, not an issue with source code or documentation.

Comments

@JamesNK
Copy link
Member

JamesNK commented May 18, 2021

In ASP.NET Core we want to change behavior based on the nullability of a parameter. What is the best way to get that information at runtime?

(I think I remember a first-class API being added for this but I couldn't find it)

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label May 18, 2021
@danmoseley
Copy link
Member

@buyaa-n

@buyaa-n
Copy link
Contributor

buyaa-n commented May 18, 2021

(I think I remember a first-class API being added for this but I couldn't find it)

The API still at the proposal stage, but it is planned for 6.0

@buyaa-n buyaa-n added question Answer questions and provide assistance, not an issue with source code or documentation. and removed untriaged New issue has not been triaged by the area owner labels May 18, 2021
@JamesNK
Copy link
Member Author

JamesNK commented May 18, 2021

Thanks!

@JamesNK JamesNK closed this as completed May 18, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Reflection question Answer questions and provide assistance, not an issue with source code or documentation.
Projects
No open projects
Development

No branches or pull requests

3 participants