Skip to content

Type mapping cannot handle null values for class fields #157

Description

@bilalhaider

When documents are mapped to typed objects, if a class field's corresponding value in database is null, a NullReferenceException is thrown during type mapping. Would it be better if the default value for the class field is returned instead?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions