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

Add API calls that use default Context #169

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

ChristopherHogan
Copy link
Collaborator

Fixes #130.

  • Add overloads of Bucket and VBucket methods that use a stored default Context (set during the constructor) instead of requiring the user to always pass one in.
  • Pass Contexts by const reference.
  • Simplify tests by removing all default Context instances.

@coveralls
Copy link

coveralls commented Apr 7, 2021

Coverage Status

Coverage increased (+0.2%) to 85.322% when pulling 8f69583 on chogan/default_context into 571286c on master.

@ChristopherHogan ChristopherHogan merged commit 5bcd25a into master Apr 8, 2021
@ChristopherHogan ChristopherHogan deleted the chogan/default_context branch April 9, 2021 16:04
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.

Use default Context if user doesn't supply one
3 participants