From 3ac089424b6345edb480bab051b19887fe0736a9 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 18 Apr 2019 22:05:10 -0400 Subject: [PATCH] Edit README --- angel_graphql/CHANGELOG.md | 3 +++ angel_graphql/README.md | 1 - angel_graphql/lib/src/graphql_ws.dart | 3 +-- angel_graphql/pubspec.yaml | 8 ++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/angel_graphql/CHANGELOG.md b/angel_graphql/CHANGELOG.md index d1441f95..25b7ed5c 100644 --- a/angel_graphql/CHANGELOG.md +++ b/angel_graphql/CHANGELOG.md @@ -1,3 +1,6 @@ +# 1.0.0-rc.0 +* Finish `graphQLWS`. + # 1.0.0-beta.1 * Add `graphQLWS` handler, and support subscriptions. diff --git a/angel_graphql/README.md b/angel_graphql/README.md index 92412e0d..74683163 100644 --- a/angel_graphql/README.md +++ b/angel_graphql/README.md @@ -183,7 +183,6 @@ app.get('/graphiql', ``` **NOTE: Apollo's spec for the aforementioned protocol is very far outdated, and completely inaccurate,** -**so as of April 18th, 2019, GraphiQL and the `subscriptions-transport-ws` client might not yet work.** **See this issue for more:** **https://github.com/apollographql/subscriptions-transport-ws/issues/551** diff --git a/angel_graphql/lib/src/graphql_ws.dart b/angel_graphql/lib/src/graphql_ws.dart index 22fd155e..0698b65c 100644 --- a/angel_graphql/lib/src/graphql_ws.dart +++ b/angel_graphql/lib/src/graphql_ws.dart @@ -26,8 +26,7 @@ RequestHandler graphQLWS(GraphQL graphQL, {Duration keepAliveInterval}) { return 'graphql-ws'; else throw AngelHttpException.badRequest( - message: - 'Only the "graphql-ws" protocol is allowed.'); + message: 'Only the "graphql-ws" protocol is allowed.'); }); var channel = IOWebSocketChannel(socket); var client = stw.RemoteClient(channel.cast()); diff --git a/angel_graphql/pubspec.yaml b/angel_graphql/pubspec.yaml index ab528e04..a73492d2 100644 --- a/angel_graphql/pubspec.yaml +++ b/angel_graphql/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_graphql -version: 1.0.0-beta.1 +version: 1.0.0-rc.0 description: The fastest + easiest way to get a GraphQL backend in Dart, using Angel. homepage: https://github.com/angel-dart/graphql author: Tobe O @@ -18,6 +18,6 @@ dependencies: dev_dependencies: angel_serialize: ^2.0.0 logging: ^0.11.0 -dependency_overrides: - graphql_server: - path: ../graphql_server \ No newline at end of file +# dependency_overrides: +# graphql_server: +# path: ../graphql_server \ No newline at end of file