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

Support user contexts in the encoder / decoder contexts

    • Type: Icon: New Feature New Feature
    • Resolution: Gone away
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None

      See: PR: https://github.com/mongodb/mongo-java-driver/pull/846

      I would like to discuss adding something like this to the DecoderContext. This would allow me to attach a cache in Morphia so that when I'm fetching referenced documents, I can cache them and reuse the hydrated objects rather than reprocessing them all over and over. The precise shape of this API could no doubt use some fine tuning but this is the general idea.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: