-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Automatic port of Microsoft.Extensions.ObjectPool docs #4932
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
This comment has been minimized.
This comment has been minimized.
Title looks wrong. The problem pointed out is in PollyServiceCollectionExtensions. This appears to be a problem with the docs process as this type is extending a 3rd-party library and references it is complaining about are the types in that 3rd party component. |
@carlossanlop I think @BillWagner tried to fix this here #4218 but that isn't working completely. Can someone more familiar with this tool try to fix this one? |
Apologies, I misunderstood the purpose here. The validation warnings are due to the problem I mentioned above, which I do think @BillWagner should try to fix. This is updating docs for Microsoft.Extensions.ObjectPool, which is part of ASP.NET -- @pranavkm @ryanbrandenburg |
Thanks @ericstj Adding @gewarren and @joelmartinez for the Polly based warnings. The XML files shouldn't have xrefs to the Polly docs. If so, we'll need to somehow get those removed because we don't publish the docs for those. Pending that answer, this is ready to |
You could always put those polly XREFs in the To be clear, this is a technical answer to the issue ... not sure how this is to be treated from an editorial perspective :) |
<param name="obj">The object to return to the pool.</param> | ||
<summary>Runs some processing when an object was returned to the pool. Can be used to reset the state of an object and indicate if the object should be returned to the pool.</summary> | ||
<returns> | ||
<see langword="true" /> if the object should be returned to the pool. <see langword="false" /> if it's not possible/desirable for the pool to keep the object.</returns> |
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 realize this is what the existing comment says, but should this say:
<see langword="true" /> if the object should be returned to the pool. <see langword="false" /> if it's not possible/desirable for the pool to keep the object.</returns> | |
<see langword="true" /> if the object should be returned to the pool. <see langword="false" /> if it's not possible or desirable for the pool to keep the object.</returns> |
Similarly elsewhere
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.
Thank you @pranavkm for providing a suggestion. It's ok to change the original texts from triple slash, since the purpose of the dotnet-api-docs PRs is to get them through language review, like you did here 😄 . I'll apply your suggestion in all the places where I find similar text.
xml/Microsoft.Extensions.ObjectPool/DefaultPooledObjectPolicy`1.xml
Outdated
Show resolved
Hide resolved
xml/Microsoft.Extensions.ObjectPool/StringBuilderPooledObjectPolicy.xml
Outdated
Show resolved
Hide resolved
Docs Build status updates of commit d0ef037: ✅ Validation status: passed
For more details, please refer to the build report. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. For any questions, please:
|
@BillWagner @gewarren can I get an approving sign-off please? |
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.
This LGTM @carlossanlop @ericstj
You can when ready.
I opened #4952 which should fix the Polly related build warnings. Working with @joelmartinez to make sure that's setup correctly. |
xml/Microsoft.Extensions.ObjectPool/DefaultPooledObjectPolicy`1.xml
Outdated
Show resolved
Hide resolved
xml/Microsoft.Extensions.ObjectPool/DefaultPooledObjectPolicy`1.xml
Outdated
Show resolved
Hide resolved
xml/Microsoft.Extensions.ObjectPool/DefaultPooledObjectPolicy`1.xml
Outdated
Show resolved
Hide resolved
xml/Microsoft.Extensions.ObjectPool/StringBuilderPooledObjectPolicy.xml
Outdated
Show resolved
Hide resolved
xml/Microsoft.Extensions.ObjectPool/StringBuilderPooledObjectPolicy.xml
Outdated
Show resolved
Hide resolved
xml/Microsoft.Extensions.ObjectPool/StringBuilderPooledObjectPolicy.xml
Outdated
Show resolved
Hide resolved
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Docs Build status updates of commit 8e34b7f: ✅ Validation status: passed
For more details, please refer to the build report. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. For any questions, please:
|
Area owners of Microsoft.Extensions.ObjectPool: @maryamariyan @ericstj
Note: The area owners document does not have the label
area-Extensions-ObjectPool
.