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: use createNewSurfaceOperationsClient for NEW_SURFACE_ONLY clients #713

Closed
wants to merge 2 commits into from

Conversation

bshaffer
Copy link
Contributor

Depends on googleapis/gax-php#571

Uses new GapicClientTrait::createNewSurfaceOperationsClient method when clients have migration_mode = NEW_SURFACE_ONLY.

In these cases, the clients are either pre-1.0 or already 2.0, so they can safely use the new surface clients.

@bshaffer
Copy link
Contributor Author

I think this direction is not a good idea, and it inflates an already-inflated GapicClientTrait.

Better to generate the logic directly in the GAPIC client.

@bshaffer bshaffer closed this May 22, 2024
@bshaffer bshaffer deleted the use-v2-operationsclient branch May 22, 2024 23:56
@bshaffer
Copy link
Contributor Author

closed in favor of #714

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.

1 participant