Commit Graph

876 Commits

Author SHA1 Message Date
Sunli
a93b91ae2d Re-enable the test on websocket. 2020-09-11 16:41:56 +08:00
Sunli
3e01ef0be7 Fix tests 2020-09-11 16:05:21 +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
553e6ffd53 Remove unnecessary Result on Schema::execute_stream function. 2020-09-11 10:47:55 +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
Sunli
cacb5aa9d8 Rustfmt 2020-09-10 09:09:55 +08:00
Koxiaet
096660a676 Remove anyhow, byteorder and base64 dependencies 2020-09-09 17:34:23 +01:00
Koxiaet
a526b751d5 Merge branch 'master' of github.com-koxiaet:async-graphql/async-graphql into master 2020-09-09 17:06:36 +01:00
Koxiaet
7ad1b8cd58 Reorder dependencies and remove dependency on mime 2020-09-09 17:03:33 +01:00
Sunli
31f4dcb2f2 Merge branch 'master' of https://github.com/async-graphql/async-graphql 2020-09-09 18:42:58 +08:00
Sunli
0d3a0f6949 Add context to ResolveInfo. #260 2020-09-09 18:42:10 +08:00
Sunli
035e7c27c9 Release 1.18.0 2020-09-09 15:27:45 +08:00
Sunli
9291e82d32 Update code-coverage.yml 2020-09-09 15:17:44 +08:00
Sunli
88bf17aaa8 Update CI 2020-09-09 11:05:57 +08:00
Sunli
e1aba38884 Update code-coverage.yml 2020-09-09 11:04:18 +08:00
Sunli
25e1339d5e Remove prefixes and add integrations subdirectory #259 2020-09-09 10:08:17 +08:00
Sunli
2553749672
Merge pull request #257 from Koxiaet/master
Rewrite async-graphql-parser
2020-09-09 09:36:47 +08:00
Koxiaet
b3093e92d4 Fix Tide tests 2020-09-08 11:07:32 +01:00
Koxiaet
122f8ef230 Fix tests 2020-09-08 10:19:25 +01:00
Koxiaet
c29c176528 Fix benchmarks 2020-09-08 10:03:25 +01:00
Koxiaet
7cd823ba04
Merge branch 'master' into master 2020-09-08 09:48:01 +01:00
Koxiaet
a42cc58f00 Merge branch 'master' of github.com-koxiaet:Koxiaet/async-graphql into master 2020-09-08 09:32:37 +01:00
Koxiaet
c42aa55625 Rustfmt 2020-09-08 09:30:29 +01:00
Koxiaet
ed5acdcf18 Support service parsing in async-graphql-parser
- Instead of adding a separate module `schema` like there was before,
since service parsing and executable parsing have a fair amount of
overlap I put them as two submodules `executable` and `service` in both
`parse` and `types`. Also, the grammar is unified under one `.pest`
file.
- Added const equivalents to `Value`, `Directive` etc
- Change the reexport `async_graphql::Value` from
`async_graphql_parser::types::Value` to
`async_graphql_parser::types::ConstValue` since in 99% of cases in this library
a const value is wanted instead of a value.
- Added consistent usage of executable/service instead of the ambiguous
query/schema.
- Some of the tests actually had invalid GraphQL so the new more correct
grammar made them fail, that was fixed.
- Added a `Name` newtype to refer to GraphQL names
(`[A-Za-z_][A-Za-z_0-9]*`) since they are used so frequently.
2020-09-08 09:21:27 +01:00
Sunli
5f14325ef5 Remove historical code that is no longer used. 2020-09-07 18:53:03 +08:00
Sunli
9ce0554ed3 Clippy cleanup 2020-09-06 18:59:38 +08:00
Sunli
59dc391309 Merge branch 'master' of https://github.com/Koxiaet/async-graphql into pr/257 2020-09-06 18:54:28 +08:00
Sunli
22fb1681d5 Make all tests pass. 2020-09-06 18:53:24 +08:00
Sunli
4126332d59 Update ci.yml 2020-09-06 18:41:40 +08:00
Sunli
d3370dade5 Update CI. 2020-09-06 18:39:29 +08:00
Sunli
9307cec9ce Make all tests pass. 2020-09-06 18:38:06 +08:00
Sunli
a2601ad320 Update rust toolchain to 1.46 for CI. 2020-09-06 18:29:46 +08:00
Koxiaet
e09a351fc2 Fix rustfmt-caused clippy warning 2020-09-06 07:25:43 +01:00
Koxiaet
9ad4e8c1a8
Merge branch 'master' into master 2020-09-06 07:20:18 +01:00
Koxiaet
3bf5f3a16c Rustfmt 2020-09-06 07:16:36 +01:00
Koxiaet
9b6a29c838 Remove clippy and debug prints 2020-09-06 06:42:10 +01:00
Koxiaet
e3e58d261d Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
Sunli
dc02466cc7 Implement Into<ID> for all integer types. 2020-09-06 12:33:57 +08:00
Sunli
c78aa8ffb5 Fix the problem that rocket example cannot pass the test. 2020-09-05 08:38:00 +08:00
Sunli
ec0b635c7c
Merge pull request #256 from simplificAR/master
Add Rocket integration
2020-09-05 08:32:28 +08:00
Daniel Wiesenberg
e04aac8b05
Fix docs 2020-09-04 12:48:41 +02:00
Daniel Wiesenberg
aff56ceff5
Make Clippy happy 2020-09-04 12:01:16 +02:00
Daniel Wiesenberg
f06341eda0
Run cargo fmt 2020-09-04 11:50:24 +02:00
Daniel Wiesenberg
258f379a51
Add docs for Rocket integration 2020-09-04 10:21:05 +02:00