-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat(client/v2): implement version filtering using annotation #20083
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
Changes from 2 commits
0db9775
e6afe93
c9ff5eb
855c455
b79cee4
7641af6
487db3b
e9e8564
1b97e17
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,11 +33,6 @@ func (b *Builder) buildMethodCommandCommon(descriptor protoreflect.MethodDescrip | |
| short = fmt.Sprintf("Execute the %s RPC method", descriptor.Name()) | ||
| } | ||
|
|
||
| long := options.Long | ||
| if long == "" { | ||
| long = util.DescriptorDocs(descriptor) | ||
| } | ||
|
|
||
| inputDesc := descriptor.Input() | ||
| inputType := util.ResolveMessageType(b.TypeResolver, inputDesc) | ||
|
|
||
|
|
@@ -49,7 +44,7 @@ func (b *Builder) buildMethodCommandCommon(descriptor protoreflect.MethodDescrip | |
| cmd := &cobra.Command{ | ||
| SilenceUsage: false, | ||
| Use: use, | ||
| Long: long, | ||
| Long: options.Long, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tip Codebase Verification The search results indicate that the direct use of
Analysis chainDirect use of Scripts ExecutedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check for consistency of direct use of options fields in command setups across the project.
rg --type go 'Long: options.'
Length of output: 97 |
||
| Short: short, | ||
| Example: options.Example, | ||
| Aliases: options.Alias, | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.