Add capability of pass metadata to serializers on Serialize/Deserialize methods

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Do
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.4
    • Component/s: Serialization
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      I'd like to be able to write smart serializers, where I can share information whit the invoked sub-serializers. Currently, for example on deserialization process, there are the "context" and "args" arguments, but I can't add arbitrary data as metadata about current model and document. An invoked serializer could have need to access, for example, to a document version metadata stored on the root of the document. The simpliest way to share this information, is to pass it with the call.

            Assignee:
            Unassigned
            Reporter:
            Mirko Da Corte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: