Investigate attribute/convention propagation in children serializers

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Dotnet Drivers
    • 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

      At the moment when we use an attribute/convention it is propagated to a single child serializer, but there are cases in which multiple children serializers could be involved. This can happen, for instance, with a dictionary, where there are two children serializers.
      At the moment we do not have a way of specifying different kind of behaviour/representation for the serializers of all the children serializers. For instance, using `BsonRepresentationAttribute` on a dictionary will have effect only on the serializers for the values, and not for the keys. We need to investigate how to solve this.

            Assignee:
            Unassigned
            Reporter:
            Ferdinando Papale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: