-
Notifications
You must be signed in to change notification settings - Fork 55
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: add ResourceHelperTrait #428
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.
preliminary review, looks good!
I just set aside a block of time for tomorrow morning to review. |
Sorry about the delay, I was out the last few days. Taking a look today. |
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.
Looks very clean and straightforward, just a few thoughts. Nice work @noahdietz.
Co-authored-by: David Supplee <[email protected]>
Co-authored-by: David Supplee <[email protected]>
Introduces a new
ResourceHelperTrait
that supplies functionality for loading a resource name template map from a descriptor config, retrieving aPathTemplate
, and parsing values using registered templates. This can be used by GAPIC clients to replace much of the resource template properties generated into every client.Proposal is at http://go/php-resource-name-refactor.