Merge encryptedFieldsMap from documents stored in the same collection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Doctrine
    • None
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      When multiple Doctrine Documents are stored in the same namespace (using 
      InheritanceType SINGLE_COLLECTION), the encrypted fields maps generated from the metadata of each document classes should be merged into a single entry for the collection.
       
      This need to be done in SchemaManager when the collection is created, and in the dump-encrypted-fields-map command.
       
      Question: what should be the behavior when the same field path has different configurations in different document classes using the same namespace?
       
       

            Assignee:
            Unassigned
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: