serum
12/31/2018, 10:06 AMtype Bla {
foos: [Foo!]!
}
type Foo {
bla: Bla!
text: String!
}
type Query {
findBlasWithFooTextContaining(search: String!): [Bla!]!
}
using the playground I now have figured out how to filter Foo
and then query for bla
. to do this in the resolver I need to use a fragment, or the prisma-bindings, afaiu. but then, the result is still a [Foo]
, instead of the intended [Bla]
.
any pointers highly appreciated!divyendu
12/31/2018, 11:46 AM