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

Support package scanning for Discriminators

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • POJO
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: