mongodb-js / jsonpatch-to-mongodb

Convert JSON patches into a MongoDB update
MIT License
35 stars 27 forks source link

Add support for 'add' operation without position. #13

Open mrcranky opened 4 years ago

mrcranky commented 4 years ago

Spec (https://tools.ietf.org/html/rfc6902#section-4.1) requires this operation to replace an existing target field or add a new one, both of which are covered by the same $set mongodb operation.

stephanebachelier commented 3 years ago

This PR should be merged as it fixes the issues with add. Any news ?

Sideral-Inc commented 2 years ago

Any update?

johanlelan commented 2 years ago

+1 I am waiting for this resolve ;)