Closed bshaffer closed 5 months ago
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.
Closing in favor of https://github.com/googleapis/gapic-generator-php/pull/714
add a new method
createNewSurfaceOperationsClient
(private) while we migrate the previous classes over.This is because we accidentally shipped GA "new surface" clients which use the previous surface's operations clients. We don't want to break GA clients, so we can only change the client classes for clients which are
NEW_SURFACE_ONLY
(e.g. they do not contain legacy clients).