We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
updateOrAdd
id
So we've been using Hoodie in a project like this:
hoodie.store.updateOrAdd({artist: 'Shellac', title: 'Riding Bikes'})
and ran into the following Pouch error which left us a bit baffled for the moment:
Quickly looking up into the code it was clear what happens, but then I was confused because in hoodie-store-client there's code that handles that case and returns a more friendly error message: https://github.com/hoodiehq/hoodie-store-client/blob/e850a59e6e9b5266866b0f9ca1a0f703ce55aa60/lib/scoped/update-or-add.js#L28-L32
hoodie-store-client
Should pouchdb-hoodie-api behave the same?
pouchdb-hoodie-api
The text was updated successfully, but these errors were encountered:
yes, I’m already working on this
Sorry, something went wrong.
No branches or pull requests
So we've been using Hoodie in a project like this:
and ran into the following Pouch error which left us a bit baffled for the moment:
Quickly looking up into the code it was clear what happens, but then I was confused because in
hoodie-store-client
there's code that handles that case and returns a more friendly error message: https://github.com/hoodiehq/hoodie-store-client/blob/e850a59e6e9b5266866b0f9ca1a0f703ce55aa60/lib/scoped/update-or-add.js#L28-L32Should
pouchdb-hoodie-api
behave the same?The text was updated successfully, but these errors were encountered: