-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
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. |
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.
tiny typo: anythign => anything
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.
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"); |
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.
description is now foo.withAuthContext
, just making sure that's intended.
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.
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.
(One commit at a time...)