Subscription field must return Async Iterable. Received: undefined.
"apollo-server-express": "1.3.6",
"apollo-server-module-graphiql": "1.3.4",
"graphql-subscriptions": "0.5.8",
"graphql": "0.13.2",
Subscription field must return Async Iterable. Received: undefined.
"apollo-server-express": "1.3.6",
"apollo-server-module-graphiql": "1.3.4",
"graphql-subscriptions": "0.5.8",
"graphql": "0.13.2",
Subscription field must return Async Iterable. Received: undefined.
type Subscription {
post: PostSubscription
}
type PostSubscription {
postAdded: Post
}
Subscription field must return Async Iterable. Received: undefined.
Subscription: {
post: () => ({
PostSubscription: {}
})
},
PostSubscription: {
postAdded: {
subscribe: () => pubSub.asyncIterator(['postAdded'])
}
}
Subscription field must return Async Iterable. Received: undefined.
type Subscription {
postAdded: Post
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us