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

Problems using NeverSerializeDefaultValueConvention

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.3
    • Affects Version/s: 1.1
    • Component/s: None
    • None

      The attached program should have worked. At the very least there is a usability concern about how to correctly use NeverSerializeDefaultValueConvention, but I think there are also one or more minor bugs lurking (in particular, setting the default value forces SerializeDefaultValue to true overriding the value provided by the convention).

      See also: https://groups.google.com/group/mongodb-user/browse_thread/thread/8ee0a96225e22c4b#

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: