-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
fix: correct path required proto testdata #14991
Conversation
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.
LGTM, proposed 2 alternatives, but this PR LGTM as-is too. Thanks @julienrbrt
@@ -1,5 +1,5 @@ | |||
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. | |||
package testdata_pulsar | |||
package testpb |
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.
An alternative we can do, is that instead of generating pulsar types in testutil/testdata_pulsar/testpb
, we generate them in testutil/testdata/testpb
. This way testdata_pulsar is not a directory with only one directory inside.
We would have:
testdata/*.go
: gogotestdata/testpb/*.go
: pulsar
Not sure if that's better or more confusing, but putting the idea out there.
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.
Yes, I was thinking of this, but thought it could be confusing. As you think the same too, this means it's not that confusing then 👍🏾 Doing that!
@Mergifyio backport release/v0.47.x |
✅ Backports have been created
|
(cherry picked from commit a90569c) # Conflicts: # .golangci.yml # CHANGELOG.md # simapp/app.go # simapp/app_v2.go # testutil/assert_helpers.go # testutil/testdata/testpb/pulsar_query.go # testutil/testdata/testpb/query_grpc.pb.go # testutil/testdata/testpb/tx_grpc.pb.go # x/auth/ante/testutil_test.go
…smos#16083) Co-authored-by: Julien Robert <julien@rbrt.fr>
…smos#16083) Co-authored-by: Julien Robert <julien@rbrt.fr>
Description
Closes: #14988
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change