Open fernandoflorez opened 2 years ago
Hello,
I'm looking to add a default filter based on a context variable to nested queries.
For example, I'd like to only return active records (status = 'active') for all the data tree.
I've tried overwriting the FilterableConnectionField get_query method but it only applies to top level query and not nested.
Any guidance on how can this be done?
Thank you!
Hello,
I'm looking to add a default filter based on a context variable to nested queries.
For example, I'd like to only return active records (status = 'active') for all the data tree.
I've tried overwriting the FilterableConnectionField get_query method but it only applies to top level query and not nested.
Any guidance on how can this be done?
Thank you!