-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
I had this setup:
type MyStuff {
.. other stuff ommitted
entries: [Entry!]!
}
type Query {
myStuffs(
stuffFilter: StuffFilter
entriesFilter: EntriesFilter
): [MyStuff!]!
my resolver invokes a single service, passing down the entries filter.
I am considering a more graphql-idiomatic approach like so:
type MyStuff {
.. other stuff ommitted
entries(filter: EntriesFilter): [Entry!]!
}
type Query {
myStuffs(
stuffFilter: StuffFilter
): [MyStuff!]!
however in my resolver now it's unclear how to extract the filter from the query to pass it down to the service level. How do I do that?
Metadata
Metadata
Assignees
Labels
No labels