goadesign / model

Create your software architecture models and diagrams in Go.
MIT License
331 stars 19 forks source link

Properly handle duplicate relationship declarations #689

Closed raphael closed 2 months ago

raphael commented 2 months ago

This can happen when a model package imports others that define the same relationship.

The code would create a duplicate entry in the registry and in the source relationships. This duplicate could have an unresolved destination causing a panic downstream.