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

Handle empty relations #1

Merged
merged 1 commit into from
Aug 27, 2014
Merged

Conversation

ssured
Copy link
Contributor

@ssured ssured commented Aug 27, 2014

relational-pouch requires non empty relations objects, see https://github.com/nolanlawson/relational-pouch/blob/8955f2dab1b137fd30adae801fcd1e72b1742cfd/lib/index.js#L78-L80. This fix allows for records without any relations to other records.

relational-pouch requires non empty relations objects, see https://github.com/nolanlawson/relational-pouch/blob/8955f2dab1b137fd30adae801fcd1e72b1742cfd/lib/index.js#L78-L80. This fix allows for records without any relations to other records.
@nolanlawson
Copy link
Member

Ooh, my bad. Nice catch.

@nolanlawson nolanlawson merged commit 5ab6fdb into pouchdb-community:master Aug 27, 2014
@nolanlawson
Copy link
Member

0.1.5

nolanlawson pushed a commit that referenced this pull request Apr 26, 2015
Add instruction for ember-cli User
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants