Is someone using prisma-nexus with subscriptions? ...
# orm-help
s
Is someone using prisma-nexus with subscriptions? I have the problem that I want to return the full subscription including the
mutation
and not just the
node
. When I try it I'm just getting a type error.
Copy code
Types of property 'subscribe' are incompatible.
  Type '(parent: object, args: any, ctx: Context) => Promise<AsyncIterator<UserSubscriptionPayload>>' is not assignable to type '(root: object, args: any, ctx: Context, info: GraphQLResolveInfo) => AsyncIterator<any>'.
    Property 'next' is missing in type 'Promise<AsyncIterator<UserSubscriptionPayload>>' but required in type 'AsyncIterator<any>'.