Implement replace and update validation as described here: https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#update-vs-replace-validation
Add back the following tests after implementation:
- updateOne-validation.yml
- updateMany-validation.yml
- replaceOne-validation.yml
- bulkWrite-update-validation.yml
- transactions/errors-client.yml (the newest version)
- First test in poc-transactions
- is duplicated by
-
RUBY-2437 Atomic modifiers in replace_one should be prohibited
- Closed
-
RUBY-2913 Driver does not follow CRUD spec for update/replace operations
- Closed
- is related to
-
MONGOID-5366 #upsert misuses #update_one
- Closed
-
MONGOID-5363 Change #upsert to perform updating upsert rather than replacing upsert
- Closed
- links to