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 support for {metadata: true} option on all DB methods that get snapshots or ops #96

Merged
merged 3 commits into from
Jul 22, 2016

Conversation

nateps
Copy link
Contributor

@nateps nateps commented Jul 22, 2016

By default, DB adapters should not return metadata on snapshots or ops, as this is not sent to clients and is intended only for use in debugging on the server or custom user extension. Updates the built in MemoryDB adapter to behave this way.

Also adds the option and tests that DB adapters should support to return this metadata if requested.

@nateps nateps merged commit 2f88f3b into master Jul 22, 2016
@nateps nateps deleted the db-meta-option branch July 22, 2016 21:54
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.

None yet

1 participant