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

Cache the container to avoid object creation #1

Open
j82w opened this issue Mar 9, 2020 · 1 comment
Open

Cache the container to avoid object creation #1

j82w opened this issue Mar 9, 2020 · 1 comment

Comments

@j82w
Copy link

j82w commented Mar 9, 2020

I would recommend changing the interface to pass the container or cache the contain in some way to avoid the object creation for every operation.

var container = _client.GetContainer(databaseId, collectionId);

@YohanSciubukgian
Copy link
Owner

YohanSciubukgian commented Apr 3, 2020

Thanks for your feedbacks.

I have created a pull request for this issue.
Let me know if it fits your recommendation.

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

2 participants