-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Add docs for Session, Diagnostics.EntityFrameworkCore, MiddlewareAnalysis and HeaderPropagation #26720
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
Conversation
@jkotalik @BrennanConroy @wtgodbe Can one of you quickly review and approve this? I think today is the last day to merge API docs to release/5.0. |
/// <summary> | ||
/// Handle <see cref="DbException"/> errors and output an HTML response with additional details. | ||
/// </summary> | ||
/// <inheritdoc /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens with inheritdoc and a summary? Should you just have inheritdoc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work:
This was tough to verify, because it stays as /// <inheritdoc />
inside the compiled dll.
While investigating this I ran across the issue you filed (#26434) about inherited docs not showing up on docs.microsoft.com. Good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that gotta be fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But glad that works!
...e/HeaderPropagation/src/DependencyInjection/HeaderPropagationApplicationBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
public async Task LoadAsync(CancellationToken cancellationToken = default) | ||
{ | ||
// This will throw if called directly and a failure occurs. The user is expected to handle the failures. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this a remark?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I almost did until I looked at the doc we're inheriting and saw it's already called out.
aspnetcore/src/Http/Http.Features/src/ISession.cs
Lines 28 to 32 in 25bd01f
/// <summary> | |
/// Load the session from the data store. This may throw if the data store is unavailable. | |
/// </summary> | |
/// <returns></returns> | |
Task LoadAsync(CancellationToken cancellationToken = default(CancellationToken)); |
...re/HeaderPropagation/src/DependencyInjection/HeaderPropagationHttpClientBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
...re/HeaderPropagation/src/DependencyInjection/HeaderPropagationServiceCollectionExtensions.cs
Outdated
Show resolved
Hide resolved
...re/HeaderPropagation/src/DependencyInjection/HeaderPropagationHttpClientBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
...re/HeaderPropagation/src/DependencyInjection/HeaderPropagationServiceCollectionExtensions.cs
Outdated
Show resolved
Hide resolved
...e/HeaderPropagation/src/DependencyInjection/HeaderPropagationApplicationBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
@Pilchie I'm using my build ops powers to merge this before tell mode technically ends. |
* Update dependencies from https://github.com/dotnet/runtime build 20201009.6 (#26755) [release/5.0] Update dependencies from dotnet/runtime * Update dependencies from https://github.com/dotnet/efcore build 20201009.3 (#26764) [release/5.0] Update dependencies from dotnet/efcore * Add docs for Session, Diagnostics.EntityFrameworkCore, MiddlewareAnalysis and HeaderPropagation (#26720) * Update dependencies from https://github.com/dotnet/runtime build 20201010.7 (#26792) [release/5.0] Update dependencies from dotnet/runtime * !!! Correct condition controlling `public` API analysis !!! (#26797) * !!! Correct condition controlling `public` API analysis !!! - #26785 demonstrated analyzers were inoperable * Remove unused `public` API files * Update `public` API files - three Components files were missing `#nullable enable` - `nullable` annotations missing or out-of-date elsewhere * Ignore `public` API files completely during source build - do not warn about unused files * Update more `public` API files * Update dependencies from https://github.com/dotnet/efcore build 20201012.2 (#26816) Microsoft.EntityFrameworkCore.Tools , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Design , Microsoft.EntityFrameworkCore.InMemory , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.SqlServer From Version 5.0.0-rtm.20509.3 -> To Version 5.0.0 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> * Quarantine flaky test (#26627) * Stabilize package Versions for 5.0.0 (#26650) - remove `$(DisableServicingFeatures)` property; `$(IsServicingBuild)` works now * Remove unneeded package sources * Fix PublicAPI.Unshipped.txt files to match source * Fix PublicAPI.Unshipped.txt files to match source II * Add <inheritdoc /> Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Stephen Halter <[email protected]> Co-authored-by: Doug Bunting <[email protected]> Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Pranav K <[email protected]> Co-authored-by: Tanay Parikh <[email protected]>
Partially addresses #26397