Uploaded image for project: 'Entity Framework'
  1. Entity Framework
  2. EF-129

Nullable value type properties don't work with value converters

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.2
    • Affects Version/s: 8.0.1
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      ValueConverters don't all handle nulls as you might expect.

      For those that don't support null conversion you need to ensure you don't pass nulls to them on serialization and adjust the shaper to also bypass the valueconverter on deserialization.

            Assignee:
            damien.guard@mongodb.com Damien Guard
            Reporter:
            damien.guard@mongodb.com Damien Guard
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: