Previously, if the relations config specifies multiple custom relationships for the same sourceKind, the resulting JSON schema would have duplicate enum values which would result in the validation failing with an exception. This change uses a Set to ensure the enum values are unique.
Previously, if the relations config specifies multiple custom relationships for the same
sourceKind
, the resulting JSON schema would have duplicateenum
values which would result in the validation failing with an exception. This change uses aSet
to ensure the enum values are unique.