Skip to content

Commit

Permalink
Fix issue with some References not being able to be resolved.
Browse files Browse the repository at this point in the history
  • Loading branch information
jurmous committed Oct 25, 2024
1 parent 3d27c5e commit 92be448
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface IsReferenceDefinition<DM : IsRootDataModel, CX : IsPropertyContext> :

(definition as? IsReferenceDefinition<*, *>)?.let {
// Make sure references to self are not in eternal loop
if (checkedDataModelNames?.contains(definition.dataModel.Meta.name) == true) {
if (checkedDataModelNames?.contains(this.internalDataModelReference.name) == true) {
return compatible
}

Expand Down

0 comments on commit 92be448

Please sign in to comment.