Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2175

Add bson_validate API to classes modeling raw BSON data

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      From this comment on mongodb/mongo-php-driver#1387 for PHPC-326:

      For future work, we might want to consider exposing an API for bson_validate on the Document and ArrayList classes. Alternatively, that could be an option to enable at construct time (via a from* method). For performance reasons, I don't think we'd want to validate by default.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: