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

[question] client instantiation #176

Closed
eljefedelrodeodeljefe opened this issue Feb 16, 2021 · 2 comments
Closed

[question] client instantiation #176

eljefedelrodeodeljefe opened this issue Feb 16, 2021 · 2 comments

Comments

@eljefedelrodeodeljefe
Copy link

Do I assume correctly that all auth configs are singletons and hence:
an application that manages multiple users / pipedrive installations needs to basically deep clone a lib object to not have side effects on the instances state?

@JSandmark
Copy link

I am also looking into this scenario as we run multiple Pipedrive apps backend with OAuth for multiple users and from some initial testing this lib does seem to be intended to work as a singleton. Does anyone use this lib for that scenario or do you use a custom API integration?

@JSandmark
Copy link

This seems to be mentioned as fixed in the changelog so maybe this issue should be closed. We are already using a custom API-implementation but this feature now seems to be supported.
https://github.com/pipedrive/client-nodejs/blob/master/CHANGELOG.md#1200

@RuTsEST RuTsEST closed this as completed Nov 18, 2021
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

No branches or pull requests

3 participants