761710205a
- create `juniper_axum` crate in Cargo workspace - implement `graphql` default `axum` handler for processing GraphQL requests - implement `extract::JuniperRequest` and `response::JuniperResponse` for custom processing GraphQL requests - implement `subscriptions::graphql_transport_ws()` default `axum` handler for processing the new `graphql-transport-ws` GraphQL over WebSocket Protocol - implement `subscriptions::graphql_ws()` default `axum` handler for processing the legacy `graphql-ws` GraphQL over WebSocket Protocol - implement `subscriptions::serve_graphql_transport_ws()` function for custom processing the new `graphql-transport-ws` GraphQL over WebSocket Protocol - implement `subscriptions::serve_graphql_ws()` function for custom processing the legacy `graphql-ws` GraphQL over WebSocket Protocol - provide `examples/simple.rs` of default `juniper_axum` integration - provide `examples/custom.rs` of custom `juniper_axum` integration Additionally: - fix `junper_actix` crate MSRV to 1.73 - add `test_post_with_variables()` case to integration `juniper::http::tests` Co-authored-by: ilslv <ilya.solovyiov@gmail.com> Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com> Co-authored-by: Kai Ren <tyranron@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
release.toml |
juniper_graphql_ws
crate
This crate contains implementations of 2 protocols:
-
(
graphql-transport-ws
feature) The newgraphql-transport-ws
GraphQL over WebSocket Protocol, as now used by Apollo andgraphql-ws
npm package. -
(
graphql-ws
feature) The legacygraphql-ws
GraphQL over WebSocket Protocol, as formerly used by Apollo andsubscriptions-transport-ws
npm package (deprecated in favor of the newgraphql-transport-ws
GraphQL over WebSocket Protocol mentioned above).
License
This project is licensed under BSD 2-Clause License.