Skip to content

Make Grphp\Client#getClient protected instead of private#43

Merged
splittingred merged 1 commit into
masterfrom
get-client-protected
Mar 26, 2021
Merged

Make Grphp\Client#getClient protected instead of private#43
splittingred merged 1 commit into
masterfrom
get-client-protected

Conversation

@splittingred

Copy link
Copy Markdown
Contributor

In order to enable extensibility of Grphp clients, allowing users to create custom client implementations, such as load balanced clients, we need to enable getClient() on the grphp client class to be protected, so that derived classes from Grphp\Client can modify its behavior. This does so.


@bigcommerce/platform-engineering @lord2800 @bigcommerce/infra-engineering @bigcommerce/husky

@splittingred splittingred self-assigned this Mar 26, 2021
@splittingred
splittingred merged commit fe4a5d9 into master Mar 26, 2021
@splittingred
splittingred deleted the get-client-protected branch March 26, 2021 20:25
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.

2 participants