ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 10.1.0, 11.0.0, 9.2.0, 8.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Dotnet Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Complex types (and complex collections on EF10+) are not yet supported by the provider, but they are not rejected by MongoModelValidator. A model that uses them builds successfully and then fails or misbehaves at runtime.

      Proposed change

      Reject any model containing a complex property during model validation, with a clear NotSupportedException naming the entity type and property. Remove the check once complex type support is implemented.

      Notes

      • Applies to EF8, EF9, EF10 and EF11.
      • Add unit tests to MongoModelValidatorTests.

            Assignee:
            Arthur Vickers
            Reporter:
            Arthur Vickers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: