1
Ich versuche, die apollo zu abonnieren und ich bin immer Fehler folgendeapolloClient.subsribe undefiniert
apolloClient.Subsribe is undefined
Anbringen meiner Client-Seite Abonnement
const networkInterface = createNetworkInterface('http://localhost:8000/graphql');
const wsClient = new SubscriptionClient(`ws://localhost:8000/`, {
reconnect: true,
connectionParams: {
}
});
const networkInterfaceWithSubscriptions = addGraphQLSubscriptions(networkInterface,wsClient);
const apolloClient = new ApolloClient({
networkInterface: networkInterfaceWithSubscriptions
})