Mike Stop Continues
DTDrizzle Team
•Created by Mike Stop Continues on 3/8/2025 in #help
[BUG]: Two fails with `There is not enough information to infer relation`
https://github.com/drizzle-team/drizzle-orm/issues/4140
Below is a minimum reproduction.
1/
one-to-many
doesn't work when the one()
relation uses multiple fields.
Below, a unit_packs
references three units
. The many relationship units.in_packs
fails.
2/ one-to-many
doesn't work when there are multiple one()
relations.
Below, unit_links
has a unit_left
and unit_right
relationship. However, both rels fail.
1 replies