-
Notifications
You must be signed in to change notification settings - Fork 327
Open
Labels
status: feedback-providedFeedback has been providedFeedback has been providedstatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
Hi,
I want to add all my filter parameters to the top-level object of the query because I want to filter out top-level items that don't have the child filter parameters.
eg)
I have People -> Address class structure. I want to find all individuals with the name Luke who have addresses in the province of Quebec. I don't want People with no addresses.
My query object is
{
"name": "Luke'
"addressWhere:{
"province": "Quebec"
}
}
Currently, I am passing down the argument with context.
if (where != null) {
graphQLContext.put(contextPersonWhere, where)
}
Is there a better way to do this? Can I get the parent arguments injected into the @schemamapping object?
Thanks
Metadata
Metadata
Assignees
Labels
status: feedback-providedFeedback has been providedFeedback has been providedstatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged