Skip to content

Fix deprecated include types flag for buf generate#3679

Merged
emcfarlane merged 2 commits intomainfrom
ed/fixDeprecatedIncludeTypes
Mar 17, 2025
Merged

Fix deprecated include types flag for buf generate#3679
emcfarlane merged 2 commits intomainfrom
ed/fixDeprecatedIncludeTypes

Conversation

@emcfarlane
Copy link
Contributor

This fixes the flag --include-types for buf generate. This is a deprecated flag, replaced by --type. Currently this flag won't be applied. The behavior now allows for mixing of flag types, for example the following includes all 3 types:

buf generate --type=pkg.Foo --include-types=pkg.Bar --type=pkg.Baz

@emcfarlane emcfarlane requested a review from doriable March 11, 2025 11:19
@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2025

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMar 17, 2025, 3:56 PM

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.

Thanks for catching this -- despite the small code change, I actually think it's a nice thing to call out in the changelog as a fixed behaviour.

@emcfarlane emcfarlane merged commit 439f3c7 into main Mar 17, 2025
10 checks passed
@emcfarlane emcfarlane deleted the ed/fixDeprecatedIncludeTypes branch March 17, 2025 16:16
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