Skip to content

MemberDispatcher: Support Nullable Types #43

@JeremyCaney

Description

@JeremyCaney

Currently, strings can be set to null, but other potentially nullable types cannot—including references, as well as value types such as int? or bool?. In this case, the call to SetPropertyValue() will be ignored entirely, and any preexisting value will be retained. This could result in unexpected, if not buggy, behavior. To remedy this, ideally the MemberDispatcher should be able to detect nullable types and, if a type is nullable, then permit the null value. If the type is not nullable, we should consider falling back to default.

Metadata

Metadata

Assignees

Labels

Area: MappingRelates to one of the `ITopicMappingService` interfaces or implementations.Priority: 3Severity 3: BlockingStatus 5: CompleteTask is considered complete, and ready for deployment.Type: ImprovementImproves the functionality or interface of an existing feature.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions