Skip to content

Type mapping cannot handle null values for class fields #157

@bilalhaider

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?

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