ApolloServer 4: Client Can’t Connect to Subscriptions?
I’ve got my new ApolloServer 4 client and server setup. It’s working for queries and mutations, but not for subscriptions. Subscriptions aren’t connecting at all. It’s sending context to queries and mutations, but my context function isn’t being triggered at all for subscriptions. I think it may need a split link of some kind but I’ve been studying this and trying different splitLinks for 3-4 weeks and haven’t solved it yet.