Open
Description
Proposed Changes
The GraphQL tests currently test all model fields, but are very light on testing any filtering of objects or sub-objects. We should add tests for checking different primary filters:
{
site_list(filters: {name: {i_contains:"DM"}}) {
id
name
}
}
and sub-object filtering:
{
site_list {
id
name
tags(filters: {name: {i_starts_with: "P"}}) {
name
}
}
}
Justification
The filtering logic for Strawberry is undergoing some major refactors and we could easily miss issues with filtering without tests in-place.