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

Expose Client Class #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shaoshuai0102
Copy link

@shaoshuai0102 shaoshuai0102 commented Feb 16, 2017

Hi, I'm writing a zookeeper plugin for egg.

It will be great if I can access the client class directly so I can extend it easily. Otherwise I gotta implement a proxy class delegating everything to the instance created by zookeeper.createClient().

@alexguan
Copy link
Owner

I intentionally hide the Client class since it's an implementation detail and I want to have the flexibility to change it without breaking existing users.

What kind of feature you plan to add? I may help you find a different way to do so.

@a631807682
Copy link

@alexguan I also need to extend it to create Promise version API and encapsulation my business logic .

@h2jorm h2jorm mentioned this pull request Mar 14, 2019
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