I'm trying to implement filters so theres always one fixed filter which is always set and then additional filters chained on top of it to drill down a set of results. So for example, say I want to filter for a person that has a profession of "driver" and in addition to driver they are also both a mechanic and engineer. I would expect this to work:
Leaving this comment as a record for anyone that might be coming from Graphene/django-filters. This type of filtering behavior is known as a conjoined filter. I'll probably make a feature request on Strawberry to support it.
Describe the Bug
I'm trying to implement filters so theres always one fixed filter which is always set and then additional filters chained on top of it to drill down a set of results. So for example, say I want to filter for a person that has a profession of "driver" and in addition to driver they are also both a mechanic and engineer. I would expect this to work:
But it doesn't work at all... I tried doing this:
But it gives me people who are driver OR mechanic OR engineer. I need the behavior to be driver AND mechanic AND engineer.
System Information
Additional Context
I defined the filters with
FilterLookup
Upvote & Fund