Edit README

This commit is contained in:
Tobe O 2019-04-18 22:05:10 -04:00
parent 940f6235af
commit 3ac089424b
4 changed files with 8 additions and 7 deletions

View file

@ -1,3 +1,6 @@
# 1.0.0-rc.0
* Finish `graphQLWS`.
# 1.0.0-beta.1 # 1.0.0-beta.1
* Add `graphQLWS` handler, and support subscriptions. * Add `graphQLWS` handler, and support subscriptions.

View file

@ -183,7 +183,6 @@ app.get('/graphiql',
``` ```
**NOTE: Apollo's spec for the aforementioned protocol is very far outdated, and completely inaccurate,** **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:** **See this issue for more:**
**https://github.com/apollographql/subscriptions-transport-ws/issues/551** **https://github.com/apollographql/subscriptions-transport-ws/issues/551**

View file

@ -26,8 +26,7 @@ RequestHandler graphQLWS(GraphQL graphQL, {Duration keepAliveInterval}) {
return 'graphql-ws'; return 'graphql-ws';
else else
throw AngelHttpException.badRequest( throw AngelHttpException.badRequest(
message: message: 'Only the "graphql-ws" protocol is allowed.');
'Only the "graphql-ws" protocol is allowed.');
}); });
var channel = IOWebSocketChannel(socket); var channel = IOWebSocketChannel(socket);
var client = stw.RemoteClient(channel.cast<String>()); var client = stw.RemoteClient(channel.cast<String>());

View file

@ -1,5 +1,5 @@
name: angel_graphql 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. description: The fastest + easiest way to get a GraphQL backend in Dart, using Angel.
homepage: https://github.com/angel-dart/graphql homepage: https://github.com/angel-dart/graphql
author: Tobe O <thosakwe@gmail.com> author: Tobe O <thosakwe@gmail.com>
@ -18,6 +18,6 @@ dependencies:
dev_dependencies: dev_dependencies:
angel_serialize: ^2.0.0 angel_serialize: ^2.0.0
logging: ^0.11.0 logging: ^0.11.0
dependency_overrides: # dependency_overrides:
graphql_server: # graphql_server:
path: ../graphql_server # path: ../graphql_server