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

Investigate supporting the builder pattern for Pojo creation

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

      Projects like Lombok use the builder pattern when generating POJOs.

      Currently we only support Java Bean style convention of a public constructor then mutate with getter / setters or for immutable classes final values via a public constructor.

      Look to see if a Builder support could be added to construct the POJO via the builder instead of a constructor.

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

              Created:
              Updated: