Commit Graph

36 Commits

Author SHA1 Message Date
Koxiaet
e3e58d261d Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
Koxiaet
945cd72869 Remove dependency on serde_derive, satisfy Clippy, improve docs 2020-08-31 19:18:02 +01:00
Sunli
7fef4e3dca Merge subscriptions #243 2020-08-27 15:35:48 +08:00
Sunli
2e5c256de9 Rename SubscriptionTransport to ConnectionTransport. #240 2020-08-15 08:47:45 +08:00
Sunli
fe336dd4d0 Fix send data with 'complete' WebSocket message. #238 2020-08-14 15:21:10 +08:00
Sunli
b67278eeec Add support for query execution over websocket. 2020-07-31 11:30:57 +08:00
Sunli
3d7594bac1 Removes code about streaming requests. 2020-07-31 10:10:03 +08:00
Sunli
aa1b2b61cc Fix Subscription panics when unsubscribing from exhausted stream #157 2020-06-06 19:58:36 +08:00
Sunli
55328931cd Fix relay @defer requires a label in the second chunk. #146 2020-06-05 12:20:23 +08:00
Sunli
82fe117d44 Remove unsafe code in SubscriptionStream 2020-05-29 14:42:14 +08:00
sunli
3785bd3772 Update some docs 2020-05-28 22:18:15 +08:00
Sunli
9294c170e2 Fix potential security issues with subscription connections. 2020-05-26 13:35:13 +08:00
sunli
87c6d31907 Solve problem #99 2020-05-20 15:44:59 +08:00
Sunli
d300e27fa2 Add Deferred type and @defer directive. #51 2020-05-19 20:53:29 +08:00
sunli
1c78341ce8 Remove some unsafe code 2020-05-16 21:14:26 +08:00
Sunli
14312ba472 Rename async_graphql_parser::ast to async_graphql_parser::query 2020-05-15 10:38:48 +08:00
sunli
01b2ce8e18 Improve GraphQL query parser performance. #76 2020-05-12 16:27:06 +08:00
sunli
311859e12a Merge branch 'parser'
Implement a new GraphQL query parser and remove the dependency on graphql-parser.
2020-05-09 17:55:04 +08:00
sunli
95c6c0bbf3 Report subscription stream errors to the client. 2020-05-03 16:02:46 +08:00
sunli
20e5e25d7a Update connection.rs 2020-04-23 22:07:41 +08:00
sunli
d501f73a08 v1.9.17 2020-04-23 18:11:03 +08:00
sunli
816cebf8c4 v1.9.15 2020-04-23 15:30:12 +08:00
sunli
998e9b7b85 Websocket transport creates context data from the connect_init.payload property 2020-04-23 14:52:22 +08:00
sunli
09624cab24 v1.9.11
Add context data for subscription
2020-04-23 10:26:16 +08:00
sunli
26046ce809 v1.9.0 2020-04-14 09:53:17 +08:00
sunli
16ffb0a7b1 v1.7.8 2020-04-08 09:05:54 +08:00
sunli
99809826dc Fixed simpleBroker panics at called Option::unwrap() on a None value if used with more than one type 2020-04-07 22:17:48 +08:00
sunli
d3adeb79b1 Add SimpleBroker 2020-04-07 14:30:46 +08:00
sunli
efad20d4c4 Add subscription test 2020-04-06 18:30:38 +08:00
sunli
2864cc81b1 v1.7.5 2020-04-06 13:51:59 +08:00
sunli
631de52400 The subscription field now returns a stream 2020-04-06 13:49:39 +08:00
sunli
10105b8a09 Reimplement the error type and remove the dependency on the anyhow::Error 2020-04-02 10:21:04 +08:00
sunli
01ec88abf5 remove PreparedQuery 2020-04-01 16:53:49 +08:00
sunli
d5ad690858 Update connection.rs 2020-03-31 16:41:04 +08:00
sunli
3938c2f80c v1.6.8
Add context data support
2020-03-31 11:19:18 +08:00
sunli
ba64ecc31d v1.6.4 2020-03-29 20:02:52 +08:00