Migrating a v4 application to v5 and addressing test failures as they arise, we found that belongsToThrough is emitting sql that does not include where/join constraints. Per the release notes / upgrade guide we haven't seen that belongsToThrough was expected to have a behavioral change.
Migrating a v4 application to v5 and addressing test failures as they arise, we found that
belongsToThrough
is emitting sql that does not include where/join constraints. Per the release notes / upgrade guide we haven't seen thatbelongsToThrough
was expected to have a behavioral change.grammar is mssql.
repro: