is there a way of providing `GraphQLResolveInfo` a...
# prisma-whats-new
p
is there a way of providing
GraphQLResolveInfo
as an object instead of a string?
seems like this would be an ideal case for a
fragment
definition, but i'm not sure how i would go about doing that.
Managed to get a fragment associated with a resolver by using the shap
{ fragment: string, resolve: Function }
but I have no idea how to make use of it yet.
n
yes, there is - you get it as a parameter to your resolver function