DEV Community

Discussion on: GraphQL on Azure: Part 1 - Getting Started

Collapse
 
talk2megooseman profile image
Erik Guzman

Personally I did end up migrating to App Services, another reason to do so is "Subscription" types

Thread Thread
 
aaronpowell profile image
Aaron Powell

I haven't played with subscriptions in GraphQL yet, but I've got some ideas on how to tackle it using SignalR

Thread Thread
 
_shirish profile image
Shirish

Can you point to any working sample on how to get subscriptions working on Apollo Server with Azure functions. ?

Thread Thread
 
aaronpowell profile image
Aaron Powell

Conveniently I wrote a blog post about this today - dev.to/azure/graphql-on-azure-part...

The best way to have a server that provides Subscriptions is to implement it on App Service as Azure Functions doesn't provide a way in which you can connect to a WebSocket (given it's event driven, a persistent connection wouldn't fit the model).