Skip to content

ReverseTopicMappingService: Overwrite Topic References #42

@JeremyCaney

Description

@JeremyCaney

Currently, the ReverseTopicMappingService will bypass any IAssociatedTopicBindingModel instances whose UniqueKey is null or empty. But if a UniqueKey is empty, that should be used to delete any existing topic references that have the same Key. That's how attributes work in the ReverseTopicMappingService*, but not topic references. This isn't necessarily a bug, but it's definitely an unintuitive and unnecessary limitation that should be resolved.

The relevant code is within the SetReference() method of the ReverseTopicMappingService.

* At least assuming the attribute isn’t backed by a property which requires enforcement of business logic (#65).

Metadata

Metadata

Assignees

Labels

Area: MappingRelates to one of the `ITopicMappingService` interfaces or implementations.Priority: 3Severity 1: MinorStatus 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