Closed arlyon closed 4 years ago
graphql_subscription
filter should be used first, I've fixed the example.
let routes = graphql_subscription(schema)
.or(graphql_playground)
.or(graphql_post);
Hah feel bad for missing that. Thanks!
I'm testing this out on macOS (if that is of relevance) and can't get the subscriptions working properly whether that is integration into my codebase or by running the example. Here is the output from the example (with some extra logging):
And from the playground:
Seems like the subscription isn't being called at all. This was tested on the exact deps in cargo, as well as the latest versions of each of the libraries.