Skip to content
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

feat: Update dependencies, adapt tooling and regenerate #250

Merged
merged 6 commits into from Apr 4, 2024

Conversation

jskeet
Copy link
Collaborator

@jskeet jskeet commented Apr 3, 2024

(One commit at a time...)

@jskeet jskeet requested review from a team as code owners April 3, 2024 07:25
@product-auto-label product-auto-label bot added the api: eventarc Issues related to the googleapis/google-cloudevents-dotnet API. label Apr 3, 2024
var suffix = type.Split('.').Last();
// Firestore and Datastore have separate "withAuthContext" variants; in those cases we want to
// use the previous segment as well. Hard-coding this isn't pleasant, but it'll do until we see
// anythign else we need to do.
Copy link
Collaborator

Choose a reason for hiding this comment

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

tiny typo: anythign => anything

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Whoops, thanks - will fix in the morning.

.Last();
// "Undo" the hack before to get back to the relevant part of the type.
// (We can't just use type.Split('.').Last(), as that would just give us "withAuthContext".)
var description = suffix.Replace("WithAuthContext", ".withAuthContext");
Copy link
Collaborator

Choose a reason for hiding this comment

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

description is now foo.withAuthContext, just making sure that's intended.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup, that's correct. (If you have a look in the context of the other constants, I think that's probably the best option.)

- New events for APIs: Batch, Deploy, NetworkServices, Speech
- Additional event types for Firestore and Datastore
This is just a matter of new codegen in protoc, with better debugger display.
@jskeet jskeet merged commit b3e9da8 into googleapis:main Apr 4, 2024
4 checks passed
@jskeet jskeet deleted the update branch April 4, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: eventarc Issues related to the googleapis/google-cloudevents-dotnet API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants