Custom Serializers in $group

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.1
    • Affects Version/s: 2.0
    • Component/s: LINQ
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: