Koxiaet
d404e756bc
Rework subscriptions
...
The main change in this commit is changing the return type of
SubscriptionType::create_stream from
Future<Result<Stream<Result<Response>>>> to just Stream<Result<Json>>. I
also allowed the returned stream to borrow from self and context.
2020-09-13 18:52:36 +01:00
Koxiaet
91ec3486ce
Support !Unpin in receive_body with pin project
2020-09-13 11:49:07 +01:00
Koxiaet
55753983a9
Move websockets to http module and fix doc tests
2020-09-13 07:40:34 +01:00
Koxiaet
8796c5e1a7
Replace http::GQLRequest with Request
2020-09-12 17:07:46 +01:00
Sunli
bbf784fe42
Remove async_graphql::http::StreamBody
...
l:
2020-09-12 21:44:34 +08:00
Sunli
e11d8c8d87
Change MultipartOptions to a builder.
2020-09-12 07:43:50 +08:00
Sunli
faac753096
Add transports::websocket module.
2020-09-11 15:54:56 +08:00
Sunli
9cc293c8be
Clippy clean
2020-09-11 10:51:20 +08:00
Sunli
c88747dfe4
Make all tests passed (async-graphql).
2020-09-10 19:35:48 +08:00
Sunli
d5cbbfb05f
Merge changes.
2020-09-10 16:54:38 +08:00
Sunli
2f5a1ccf20
Merge branch '2.0' of github.com:async-graphql/async-graphql into 2.0
2020-09-10 16:43:24 +08:00
Sunli
7a90069cad
Continue to refactor.
2020-09-10 16:39:43 +08:00
Koxiaet
c00c368c35
Move HTTP functions to HTTP module
2020-09-10 08:04:24 +01:00
Sunli
9bc837da9e
Initial attempt.
2020-09-10 12:49:08 +08:00
Koxiaet
7ad1b8cd58
Reorder dependencies and remove dependency on mime
2020-09-09 17:03:33 +01:00
Sunli
22fb1681d5
Make all tests pass.
2020-09-06 18:53:24 +08:00
Koxiaet
945cd72869
Remove dependency on serde_derive, satisfy Clippy, improve docs
2020-08-31 19:18:02 +01:00
Sunli
3d7594bac1
Removes code about streaming requests.
2020-07-31 10:10:03 +08:00
Sunli
6172887612
Fix typo
2020-06-22 15:59:53 +08:00
sunli
06298ba4f4
Fix upload seems broken in the new version. #160
2020-06-07 16:32:05 +08:00
Sunli
f59d9f080f
Add tests for feature attribute
2020-06-06 11:49:29 +08:00
Sunli
c3f3e20105
Update playground_source.rs
2020-06-06 10:30:14 +08:00
Sunli
3292b068c2
Clippy cleanup
2020-06-06 10:10:10 +08:00
Roman Useinov
468d648906
Add the ability to specify full config for GraphQLPlayground ( #155 )
...
* add the ability to specify full config for GraphQLPlayground
2020-06-06 09:55:53 +08:00
Sunli
55328931cd
Fix relay @defer requires a label in the second chunk. #146
2020-06-05 12:20:23 +08:00
Sunli
da3cf3ae2f
Remove Sync for StreamBody
2020-05-21 16:12:18 +08:00
Sunli
8599712e82
Add StreamResponse support to async-graphql-tide
2020-05-21 14:03:05 +08:00
Sunli
01489e20a5
Add StreamResponse type
2020-05-21 11:36:44 +08:00
sunli
3086681855
Upgrade multer to 1.2.0
2020-05-21 07:43:35 +08:00
sunli
e949cb441c
Add defer tests
2020-05-20 13:42:55 +08:00
Sunli
d300e27fa2
Add Deferred type and @defer directive. #51
2020-05-19 20:53:29 +08:00
Sunli
6cda0644c6
Upgrade multer to 1.1.1
2020-05-18 09:32:55 +08:00
sunli
44b1eb4fb4
Replace multipart parser with multer.
2020-05-17 16:26:36 +08:00
sunli
83579077d9
Support Upload Stream #15
...
I think the previous implementation is not elegant enough, the `QueryBuilder::set_files_holder` function looks disgusting, so I refactored it.
By the way, the performance of parsing InputValue has been optimized, and unnecessary clones have been removed.
2020-05-11 21:47:24 +08:00
sunli
da26857379
Move the parser to async-graphql-parser crate.
2020-05-09 22:02:55 +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
e76f711418
Fix typo
2020-04-23 22:54:34 +08:00
sunli
46991472ff
Update graphiql_source.rs
2020-04-22 18:47:20 +08:00
sunli
db32d2a071
v1.9.5
2020-04-21 12:13:14 +08:00
sunli
d603ee2700
Add IntoQueryBuilderOpts
2020-04-21 10:14:14 +08:00
sunli
26046ce809
v1.9.0
2020-04-14 09:53:17 +08:00
sunli
b880a937ce
Add GQLHttpRequest and IntoQueryBuilder trait
2020-04-11 17:36:05 +08:00
sunli
d1abad5127
If the field name or parameter name is wrong, give suggestion
2020-04-03 13:57:24 +08:00
sunli
9b9e5385cb
Update error.rs
2020-04-02 14:40:00 +02:00
sunli
fda683c931
Add Schema::execute
2020-04-02 12:53:53 +08:00
sunli
b3525356c9
Extract line and column from ParseError
2020-04-02 12:37:04 +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
3938c2f80c
v1.6.8
...
Add context data support
2020-03-31 11:19:18 +08:00
Sunli
e14b1306a9
Merge pull request #10 from nicolaiunrein/master
...
ExtendedError and ResultExt inital draft
2020-03-29 23:45:29 +08:00