Skip to content

BSR-704/default except override for optimize_for#1625

Merged
oliversun09 merged 20 commits intomainfrom
osun/bsr-704/default-except-override-for-optimize-for
Dec 12, 2022
Merged

BSR-704/default except override for optimize_for#1625
oliversun09 merged 20 commits intomainfrom
osun/bsr-704/default-except-override-for-optimize-for

Conversation

@oliversun09
Copy link
Contributor

  • Add default, except override to managed mode optimize_for option
  • preserves backward compatibility with the current optimize_for option being string

@oliversun09 oliversun09 requested a review from doriable November 24, 2022 23:25
sweeper,
*managedConfig.OptimizeFor,
managedConfig.OptimizeForConfig.Default,
managedConfig.JavaPackagePrefix.Except,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be OptimizeForConfig.Except.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!

Copy link
Member

@doriable doriable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good -- will need to fix the merge conflict in the changelog, since a release went out recently, but otherwise it seems fine. Thanks!

@oliversun09 oliversun09 merged commit af2eedb into main Dec 12, 2022
@oliversun09 oliversun09 deleted the osun/bsr-704/default-except-override-for-optimize-for branch December 12, 2022 15:09
Monirul1 pushed a commit to Monirul1/buf that referenced this pull request Apr 30, 2023
* Add default, except override to managed mode `optimize_for` option
* preserves backward compatibility with the current `optimize_for`
option being string
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.

3 participants