InsertOneOptions and InsertManyOptions are final

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.10.2
    • Component/s: Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      These options class, unlike most/all of the others, are final.  This makes it awkward for me to provide a consistent experience in Morphia.  With the others, I can extend them and add things like WriteConcern and ReadPreference options to provide a single place for users to define various options.  With these being final, i have to jump through certain hoops and it results in an inconsistent API and implementations.  'final' should be removed from these types. I can work around it but it makes me sad.

              Assignee:
              Unassigned
              Reporter:
              Justin Lee
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: