Skip to content

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