Edit README
This commit is contained in:
parent
940f6235af
commit
3ac089424b
4 changed files with 8 additions and 7 deletions
|
@ -1,3 +1,6 @@
|
|||
# 1.0.0-rc.0
|
||||
* Finish `graphQLWS`.
|
||||
|
||||
# 1.0.0-beta.1
|
||||
* Add `graphQLWS` handler, and support subscriptions.
|
||||
|
||||
|
|
|
@ -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**
|
||||
|
||||
|
|
|
@ -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<String>());
|
||||
|
|
|
@ -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 <thosakwe@gmail.com>
|
||||
|
@ -18,6 +18,6 @@ dependencies:
|
|||
dev_dependencies:
|
||||
angel_serialize: ^2.0.0
|
||||
logging: ^0.11.0
|
||||
dependency_overrides:
|
||||
graphql_server:
|
||||
path: ../graphql_server
|
||||
# dependency_overrides:
|
||||
# graphql_server:
|
||||
# path: ../graphql_server
|
Loading…
Reference in a new issue