-
Notifications
You must be signed in to change notification settings - Fork 107
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
feature:
Optionally omit generated description comments in output
#720
Merged
jakemac53
merged 11 commits into
dart-lang:master
from
TheMaverickProgrammer:feature/no_preamble_no_comment@mav
Sep 24, 2024
Merged
feature:
Optionally omit generated description comments in output
#720
jakemac53
merged 11 commits into
dart-lang:master
from
TheMaverickProgrammer:feature/no_preamble_no_comment@mav
Sep 24, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kevmoo
requested changes
Sep 21, 2024
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.
You'll want to add a changelog entry for this, please. Since it's adding a feature, it'll be a minor version per https://semver.org/
jakemac53
reviewed
Sep 23, 2024
jakemac53
reviewed
Sep 23, 2024
Co-authored-by: Jacob MacDonald <jakemac@google.com>
…elds. Corrected writeDescriptions=false test to catch specific values, both with and without a header present. Added an additional test to sanity check when writeDescriptions=true.
jakemac53
reviewed
Sep 24, 2024
…eature into it and removing the bumped version 2.0.1-wip.
jakemac53
approved these changes
Sep 24, 2024
kevmoo
approved these changes
Sep 24, 2024
TheMaverickProgrammer
deleted the
feature/no_preamble_no_comment@mav
branch
September 24, 2024 23:48
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related: #706.
This PR adds an optional
bool? writesDescriptions
field to the_Builder
base class constructor.By default, it is
true
, but if explicitly set tofalse
, the generated description comments will not be includedin the generated output.
See related link for my use-case. This will be useful so that any file can be generated with this tool for Dart.
Checklist