How can I enable subscription with Apollo server 4 and Nextjs 13

I am using apollo-server-integrations/next to integrate my Apollo server 4 with my NextJs app , and it works fine but I didn’t find a way to add subscription to it

// create apollo server instance
const server = new ApolloServer({
  typeDefs: schema,
  resolvers: [ProjectResolvers, ProposalResolvers]
});

export default startServerAndCreateNextHandler(server);
2 Likes

Do you have any updates?

I didn’t find any way to do it ,but I used pusher.js instead

It is unfortunately not possible :confused: