-
Notifications
You must be signed in to change notification settings - Fork 543
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
Review use of ArgumentException/ArgumentNullException in all public APIs #2649
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
good first issue
Good for newcomers
help wanted
Issue that is a good candidate for community contribution.
Comments
Probably not. And there have been new APIs since then. |
56 tasks
This was referenced Jul 29, 2024
This was referenced Jul 31, 2024
This was referenced Aug 2, 2024
This was referenced Aug 4, 2024
8 tasks
This was referenced Aug 9, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
good first issue
Good for newcomers
help wanted
Issue that is a good candidate for community contribution.
I noticed we seem to have lots of public APIs that accept reference type parameters not marked as nullable but then don't check that they're actually non-null and throw an
ArgumentNullException
when necessary. We should decide what we're doing and review all public APIs for appropriate argument validation.e.g.
aspire/src/Aspire.Hosting/Extensions/ResourceBuilderExtensions.cs
Lines 92 to 98 in 240cde7
The text was updated successfully, but these errors were encountered: