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

Members that have no setter, but are set via MapCreator, do not get automapped to elements in 2.0+ driver

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Create a class with a get-only property. Initialize the member in the constructor from a constructor argument. Map the property using MapCreator. Automap the class map as well.

      When retrieving the class map, you will get an exception that the argument is unmapped. This differs from 1.x driver behavior.

            Assignee:
            Unassigned Unassigned
            Reporter:
            david@funnelfire.com David Pfeffer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: