Open hudson-newey opened 1 month ago
A really amazing feature of the API is that we can filter by properties on associated models
// POST /audio_events/filter { "filters": { "audio_recordings.id": { "in": [1, 2, 3, 4] } } }
However, nesting these associations does not work
e.g.
// POST /audio_events/filter { "filters": { "audio_recordings.projects.id": { "in": [1, 2, 3, 4] } } }
We should add support for nested associations in filter conditions like the example above so that filter conditions can support more complex queries such as filtering by project id on an audio event (through the associated audio event model).
A really amazing feature of the API is that we can filter by properties on associated models
However, nesting these associations does not work
e.g.
We should add support for nested associations in filter conditions like the example above so that filter conditions can support more complex queries such as filtering by project id on an audio event (through the associated audio event model).