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

Patch many doesn't return patched items when the query includes patched fields #52

Closed
t2t2 opened this issue May 30, 2016 · 1 comment
Closed

Comments

@t2t2
Copy link
Contributor

t2t2 commented May 30, 2016

Example:

app.service('/todos').create({text: "Test todo", complete: false}).then(() => {
  // Mark all incomplete todo's as done
  return app.service('/todos').patch(null, {complete: true}, {
    query: {
      complete: false
    }
  })
}).then(updated => {
  console.log(updated) // returns []
})
@daffl
Copy link
Member

daffl commented Sep 22, 2016

This should be closed now via #75

@daffl daffl closed this as completed Sep 22, 2016
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