-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add missing Google.Rpc
types
#26
Add missing Google.Rpc
types
#26
Conversation
@goodhamgupta looks like the Buf CI action wasn't new enough to read v2 configs. The latest version of the CI Action that replaced buf-setup-action should hopefully be happy. |
Ah, they made |
Hi @mattpolzin , thanks for making these changes! There are a few things we need to address:
I apologize for the incorrect versioning strategy so far (completely my mistake), and I would like to get some feedback before making a change. I would also appreciate any other suggestions for deploying these changes. |
I'll fix this in the next few (work) days.
Hey, no worries in my opinion. This is your rodeo and I don't think there are too many bad options, though I agree with you about avoiding republishing the same version. If you feel like stabilizing the package where it's at now, publishing 1.0 before merging this sounds great to me, albeit a bit of extra work on your part. I also don't see any serious problems with your first option, though. As far as I know pre-1.0 releases are definitionally numbered at the discretion of the package author with no specific rules. |
Thank you! Since there are atleast two organisations using this package in production, I'll first release the package in it's current state as 1.0.0, and then we can update the package version in this PR and merge it in. |
Note that the CI is only failing because we were using the old syntax for compose i.e |
…ched to these, just committing them since they were automatic.
…le rpc generated code.
f8621bb
to
2f1d022
Compare
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 🚀 Thanks for your work! 🙌🏽
This PR generates and copies some Google Rpc types into the Authzed library in response to a Dialyzer error that I saw once I started using the relatively new Bulk Permissions Check API.
I admit that I am not confident we really want this type in this package, and also that it feels like some tooling along the way maybe dropped the ball on this one because the Authzed
buf.yaml
states it depends ongoogleapis
which is where this type comes from, so I would think that part of buf's job would be to generate code for that dependency.Nonetheless, perhaps this is a reasonable short term solution since it doesn't cram too much more into this library and it addresses a bug that stops you from using otherwise useful Authzed APIs.
I am happy to revert the commit that simply reorders a bunch of lines of code; that change was made automatically on my machine, but it's clearly not substantive.