Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Database
Created by Guest
Created on Oct 30, 2020

Include schema validation events in changestream payload

let's say my document has JSON schema validation like: { $jsonSchema: { properties: { phone: { bsonType: 'string' } } } } and the validation action is set to "warning", if I do a command like: db.test.insert({"phone":1}), I would like the warning message to be included in my change stream.
  • Attach files
  • Guest
    Jul 20, 2023
    This is not likely to be supported any time soon. Change Streams report durable writes, in this case write didn't happen.