Having a query like this: ``` recruitment {...
# orm-help
m
Having a query like this:
Copy code
recruitment {
            id
            symbols {
                id
              	recruitmentText(filter: {
                  recruitment: {
                    id:"cj9rnf5cuc84b0116syouiqq9"
                  }
                }) {
              		text
            		}
            }
        }
Is there some way to not having to define the recruitmentId in the recruitmentText filter, and just having it filter by the parent recruitment-context instead?
n
I don't understand the question.
symbols
already only contains symbols connected to the respective recruitment node, if that's what you mean
m
yeah, that's is true. But the recruitmentText relation is connected with a "through model" as per previous question. So unless I filter the recruitmentText relation i will get all recruitmentTexts connected to a particular symbol.
n
ahh yep
m
I want the recruitmentText for a particular symbol AND recruitment.
n
I didn't parse the query correctly 🙂