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

Analyzers for Minimal APIs #35528

Closed
4 tasks done
DamianEdwards opened this issue Aug 19, 2021 · 9 comments
Closed
4 tasks done

Analyzers for Minimal APIs #35528

DamianEdwards opened this issue Aug 19, 2021 · 9 comments
Labels
area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc feature-minimal-actions Controller-like actions for endpoint routing old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone

Comments

@DamianEdwards
Copy link
Member

DamianEdwards commented Aug 19, 2021

This is issue is to track ideas for analyzers for Minimal API scenarios:

Errors:

@DamianEdwards DamianEdwards added the feature-minimal-actions Controller-like actions for endpoint routing label Aug 19, 2021
@captainsafia
Copy link
Member

Tagging #34543 onto this as well.

@Pilchie Pilchie added the old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels label Aug 20, 2021
@rafikiassumani-msft rafikiassumani-msft added this to the 6.0-rc2 milestone Aug 23, 2021
@davidfowl
Copy link
Member

@YairHalberstadt can I tempt you with any of these?

@YairHalberstadt
Copy link

Sorry @davidfowl got a large enough backlog of stuff to do I'm not willing to take on something else :-)

@davidfowl
Copy link
Member

No problem!

@davidfowl
Copy link
Member

@martincostello have you written any analyzers before?

@martincostello
Copy link
Member

@davidfowl I haven't, but I'd be willing to give it a try. If there's one you'd consider an "easiest" one as a starting point I can see how I get on.

@captainsafia
Copy link
Member

@martincostello #35814 might be a good one to get started with. The analyzer will need to find references to a builder.WebHost or builder.Host object and flag any invocations made on that member.

@martincostello
Copy link
Member

@captainsafia Thanks for the pointer. I'll take a look at that one at some point over the next few days and see how I get on.

@captainsafia captainsafia removed their assignment Aug 30, 2021
@rafikiassumani-msft
Copy link
Contributor

Closing this issue. We will use the following issue for tracking analyzers work in NET7: #36637

@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
@amcasey amcasey added the area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc label Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc feature-minimal-actions Controller-like actions for endpoint routing old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Projects
None yet
Development

No branches or pull requests

8 participants