Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2594

Allow custom Map / collection implementations with the PojoCodec

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0
    • Affects Version/s: None
    • Component/s: POJO
    • Labels:
      None

      Currently, custom Map or collection implementations like Document or BsonDocument cannot be a property in a POJO as it fails TypeData validation.

      We can reflect on the actual type parameters of the Collection / Map where the implementations have been specialised.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: