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

Improve documentation on collection builders #664

Merged
merged 3 commits into from
Aug 24, 2021
Merged

Improve documentation on collection builders #664

merged 3 commits into from
Aug 24, 2021

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Aug 23, 2021

Motivation and Context

Generated builders include "magic" collection methods that will append to the builder. However, the generated names of these methods are confusing because they are often pluralized.

Description

To alleviate this, this diff will generate doc hints on these methods to clarify their behavior.

Screen Shot 2021-08-23 at 9 46 05 AM

Screen Shot 2021-08-23 at 9 45 33 AM

Testing

Checklist

  • I have updated the CHANGELOG

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Generated builders include "magic" collection methods that will append to the builder. However, the generated names of these methods are confusing because they are often pluralized. To alleviate this, this diff will generate doc hints on these methods to clarify their behavior.
CHANGELOG.md Outdated Show resolved Hide resolved
@rcoh rcoh requested review from jdisanti and jonhoo August 23, 2021 13:56
@rcoh rcoh merged commit dbe0dc0 into main Aug 24, 2021
@rcoh rcoh deleted the magic-method-docs branch August 24, 2021 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants