This fix allows using referrersOn or backReferencedOn in the parent table when a column of type T in the child table references a column of type EntityID<T> in the parent table.
This use case was not working even before any refactor was done. The location from which the error is coming is different now after the type safety refactor, but it's essentially the same problem: the type mismatch.
This fix allows using
referrersOn
orbackReferencedOn
in the parent table when a column of typeT
in the child table references a column of typeEntityID<T>
in the parent table.This use case was not working even before any refactor was done. The location from which the error is coming is different now after the type safety refactor, but it's essentially the same problem: the type mismatch.