Pojos - allow customizable field ordering when encoding.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: POJO
    • None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Currently with the PojoCodec its limited to natural sorting on field / property name.

      Consider adding an annotation that allows different (declared field / property) ordering instead. Then update the annotation convention to support this.

      Consider adding a property annotation similar to Spring Data's @Field(order = …) or updating the @BsonProperty annotation.

            Assignee:
            Unassigned
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: