Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-319

Make the TransformDocument function configurable

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 0.0.2
    • BSON, CRUD
    • None

    Description

      Currently the Collection methods use a TransformDocument function to take empty interface types and convert them into a *bson.Document. Make this a function types, or an interface, that is configurable so the user can choose to have their own transformation functions for input. This will be most useful for users switching from mgo because it will allow them to use a hybrid transformer that uses the mgo/bson Marshal function.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: