If we pass a relationship name as the field of a filter, get the field name to user from the relationship metadata e.g. for entity "one" with a relationship for "two", filtering by ["two" => 5] should automatically select "two_id" as the field to filter by (assuming "two_id" is the foreign key field for this relationship) Only works with one-to-one and many-to-one relationships
If we pass a relationship name as the field of a filter, get the field name to user from the relationship metadata
e.g. for entity "one" with a relationship for "two", filtering by ["two" => 5] should automatically select "two_id" as the field to filter by (assuming "two_id" is the foreign key field for this relationship)
Only works with one-to-one and many-to-one relationships

silktide/reposition