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

Support package scanning for Discriminators

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

      Currently classes using discriminators must either:

      • Be explicitly registered
      • Contain the whole class path including the package
      • Be named after the class and have the package path registered in the PojoCodecProvider.

      It would be simpler for users to use any Discriminator they like and support scanning for discriminators.

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

              Created:
              Updated: