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

Pass connection object to every call? #13

Open
Lotes opened this issue Nov 19, 2022 · 0 comments
Open

Pass connection object to every call? #13

Lotes opened this issue Nov 19, 2022 · 0 comments
Labels
question Further information is requested

Comments

@Lotes
Copy link
Owner

Lotes commented Nov 19, 2022

Advantages:

  • user can use different connection instances
  • user has not to recreate the entire service bundle after each recreation
  • request-response services have to recreate service bundle either way, but with this feature it could be a singleton

Disadvantages:

  • makes API looking weird, verbose, redundant
@Lotes Lotes added the question Further information is requested label Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant