Skip to content

Commit

Permalink
Merge pull request #1445 from apackin/patch-1
Browse files Browse the repository at this point in the history
Fix GraphQLProtocol documentation
  • Loading branch information
vincenzopalazzo authored Jul 12, 2024
2 parents 9052e60 + a82be82 commit 85881df
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,13 @@ class SocketSubProtocol {
class GraphQLProtocol {
GraphQLProtocol._();

/// graphql-ws: The new (not to be confused with the graphql-ws library).
/// graphql-ws: Old protocol (not to be confused with the graphql-ws library).
/// NB. This protocol is it no longer maintained, please consider
/// to use `SocketSubProtocol.graphqlTransportWs`.
static const String graphqlWs = "graphql-ws";

/// graphql-transport-ws: New ws protocol used by most Apollo Server instances
/// with subscriptions enabled use this library.
/// N.B: not to be confused with the graphql-ws library that implement the
/// old ws protocol.
/// graphql-transport-ws: New protocol used by most Apollo Server instances
/// with subscriptions enabled. Implemented by the graphql-ws library.
static const String graphqlTransportWs = "graphql-transport-ws";
}

Expand Down

0 comments on commit 85881df

Please # to comment.