Add bson_validate API to classes modeling raw BSON data

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: