Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1321

Custom Serializers in $group

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Linq
    • Labels:
      None
    • Sprint:
      C# Sprint 21

      Description

      See stackoverflow for a good writeup: mongodb-2-0-aggregation-with-custom-serialization.

      Essentially, g.Sum(x => x.MyDecimalField) doesn't use the custom serializer of MyDecimalField for the result and instead uses the default decimal serializer.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              craiggwilson Craig Wilson
              Reporter:
              craiggwilson Craig Wilson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: