-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
Hi, I want to refactor my app with ts and i am quite confused with the subscription described in this example. I am used to using subscribe and resolve in subscription, like below:
const Subscription = {
fooSub: {
subscribe:
resolve:
},
}And in this example it is like
const Subscription: SubscriptionResolvers.Type<TypeMap> = {
fooSub: parent => null
};Can someone explain the flow here? Thanks in advance.
Sampite
Metadata
Metadata
Assignees
Labels
No labels