Unverified Commit 984022ed authored by Kevin Albertson's avatar Kevin Albertson Committed by GitHub
Browse files

CDRIVER-4657 Prohibit extra fields when matching `command` subdocuments (#1297)



* prohibit extra fields in command subdocuments

* call visitor_fn when matching arrays

To check documents in arrays for extra fields.

* copy fle2v2-CreateCollection

from specifications commit 11af5ba6f2fea610940ddc644d3cdef54a697e73

* skip check for on `multi` and `upsert` in updates

* silence scan-build

* Apply suggested comment rewordings

Co-authored-by: default avatarEzra Chung <88335979+eramongodb@users.noreply.github.com>

* document handling of visitor_fn return

* remove unnecessary `void*` cast

---------

Co-authored-by: default avatarEzra Chung <88335979+eramongodb@users.noreply.github.com>
parent 3165a356
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment