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: add ResourceHelperTrait #428

Merged
merged 17 commits into from
Dec 5, 2022

Conversation

noahdietz
Copy link
Contributor

@noahdietz noahdietz commented Nov 9, 2022

Introduces a new ResourceHelperTrait that supplies functionality for loading a resource name template map from a descriptor config, retrieving a PathTemplate, 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.

@noahdietz noahdietz marked this pull request as ready for review November 9, 2022 23:53
@noahdietz noahdietz requested review from a team as code owners November 9, 2022 23:53
Copy link
Contributor

@bshaffer bshaffer left a 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!

@noahdietz noahdietz requested a review from bshaffer November 14, 2022 19:09
@dwsupplee
Copy link
Contributor

I just set aside a block of time for tomorrow morning to review.

@noahdietz noahdietz requested a review from bshaffer November 18, 2022 01:23
@dwsupplee
Copy link
Contributor

Sorry about the delay, I was out the last few days. Taking a look today.

Copy link
Contributor

@dwsupplee dwsupplee left a 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.

noahdietz and others added 2 commits November 21, 2022 10:38
Co-authored-by: David Supplee <[email protected]>
@noahdietz noahdietz requested a review from dwsupplee November 21, 2022 18:51
@noahdietz noahdietz merged commit 0439efa into googleapis:main Dec 5, 2022
@noahdietz noahdietz deleted the resource-helper-trait branch December 5, 2022 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants