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

Support user contexts in the encoder / decoder contexts

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Gone away
    • Icon: Unknown Unknown
    • None
    • None
    • BSON
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: