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

Upsert resource isn't working #373

Open
abhishekvaid opened this issue Jan 2, 2018 · 2 comments
Open

Upsert resource isn't working #373

abhishekvaid opened this issue Jan 2, 2018 · 2 comments
Labels

Comments

@abhishekvaid
Copy link

The routes published by this plugin, either support post [resource doesn't exist] or put/patch [resource exists]. Because of this, An additional GET request has to be made before deciding on either post or put/patch. I'm sure this is a bug of sorts.

I've also already highlighted this is my previous postings.

@mathurs
Copy link

mathurs commented Jul 17, 2018

Isn't it possible to avoid that based on whether the object posesses an _id ?

@Zertz
Copy link
Collaborator

Zertz commented Jul 17, 2018

Client-side upserts seem a bit odd, perhaps there is a specific use-case I'm missing?

@Zertz Zertz added the question label Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants