Commit Graph

875 Commits

Author SHA1 Message Date
Sunli
c129079f69 Fix tests 2020-09-11 16:05:21 +08:00
Sunli
049b652dd6 Add transports::websocket module. 2020-09-11 15:54:56 +08:00
Sunli
ec670adb6c Clippy clean 2020-09-11 10:51:20 +08:00
Sunli
35f17a389c Remove unnecessary Result on Schema::execute_stream function. 2020-09-11 10:47:55 +08:00
Sunli
91c75ced2a Make all tests passed (async-graphql). 2020-09-10 19:35:48 +08:00
Sunli
22d6e20da3 Merge changes. 2020-09-10 16:54:38 +08:00
Sunli
13f094b67e Merge branch '2.0' of github.com:async-graphql/async-graphql into 2.0 2020-09-10 16:43:24 +08:00
Sunli
f3c0d86f12 Continue to refactor. 2020-09-10 16:39:43 +08:00
Koxiaet
3945599015 Move HTTP functions to HTTP module 2020-09-10 08:04:24 +01:00
Sunli
ce0683e1f9 Initial attempt. 2020-09-10 12:49:08 +08:00
Sunli
53a7314666 Rustfmt 2020-09-10 09:09:55 +08:00
Koxiaet
f770501557 Remove anyhow, byteorder and base64 dependencies 2020-09-09 17:34:23 +01:00
Koxiaet
f1af4ea195 Merge branch 'master' of github.com-koxiaet:async-graphql/async-graphql into master 2020-09-09 17:06:36 +01:00
Koxiaet
45a08e9b00 Reorder dependencies and remove dependency on mime 2020-09-09 17:03:33 +01:00
Sunli
c397156657 Merge branch 'master' of https://github.com/async-graphql/async-graphql 2020-09-09 18:42:58 +08:00
Sunli
a4a5847d4f Add context to ResolveInfo. #260 2020-09-09 18:42:10 +08:00
Sunli
4194d17902 Release 1.18.0 2020-09-09 15:27:45 +08:00
Sunli
6657dbb68f Update code-coverage.yml 2020-09-09 15:17:44 +08:00
Sunli
a1bcfd8d70 Update CI 2020-09-09 11:05:57 +08:00
Sunli
faee30d344 Update code-coverage.yml 2020-09-09 11:04:18 +08:00
Sunli
668b1fea94 Remove prefixes and add integrations subdirectory #259 2020-09-09 10:08:17 +08:00
Sunli
83d2895e40 Merge pull request #257 from Koxiaet/master
Rewrite async-graphql-parser
2020-09-09 09:36:47 +08:00
Koxiaet
2f80e484d1 Fix Tide tests 2020-09-08 11:07:32 +01:00
Koxiaet
ea7e4eaf2a Fix tests 2020-09-08 10:19:25 +01:00
Koxiaet
b6d6d41595 Fix benchmarks 2020-09-08 10:03:25 +01:00
Koxiaet
324e65f3dd Merge branch 'master' into master 2020-09-08 09:48:01 +01:00
Koxiaet
f9ce6118b2 Merge branch 'master' of github.com-koxiaet:Koxiaet/async-graphql into master 2020-09-08 09:32:37 +01:00
Koxiaet
04c898ef01 Rustfmt 2020-09-08 09:30:29 +01:00
Koxiaet
47259548c4 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
175a48875e Remove historical code that is no longer used. 2020-09-07 18:53:03 +08:00
Sunli
e2c9de9183 Clippy cleanup 2020-09-06 18:59:38 +08:00
Sunli
67904e949a Merge branch 'master' of https://github.com/Koxiaet/async-graphql into pr/257 2020-09-06 18:54:28 +08:00
Sunli
ca84859f46 Make all tests pass. 2020-09-06 18:53:24 +08:00
Sunli
e29c5c280f Update ci.yml 2020-09-06 18:41:40 +08:00
Sunli
516f2dea57 Update CI. 2020-09-06 18:39:29 +08:00
Sunli
483ca6b7eb Make all tests pass. 2020-09-06 18:38:06 +08:00
Sunli
e50f1c9200 Update rust toolchain to 1.46 for CI. 2020-09-06 18:29:46 +08:00
Koxiaet
26f7b60bbd Fix rustfmt-caused clippy warning 2020-09-06 07:25:43 +01:00
Koxiaet
1c26ff124f Merge branch 'master' into master 2020-09-06 07:20:18 +01:00
Koxiaet
c055736101 Rustfmt 2020-09-06 07:16:36 +01:00
Koxiaet
fca8f6e991 Remove clippy and debug prints 2020-09-06 06:42:10 +01:00
Koxiaet
81d85c2535 Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
Sunli
dece273372 Implement Into<ID> for all integer types. 2020-09-06 12:33:57 +08:00
Sunli
35899d2b38 Fix the problem that rocket example cannot pass the test. 2020-09-05 08:38:00 +08:00
Sunli
bf7f9656e9 Merge pull request #256 from simplificAR/master
Add Rocket integration
2020-09-05 08:32:28 +08:00
Daniel Wiesenberg
b119fbe2df Fix docs 2020-09-04 12:48:41 +02:00
Daniel Wiesenberg
aeaf3c7811 Make Clippy happy 2020-09-04 12:01:16 +02:00
Daniel Wiesenberg
fdfda1a446 Run cargo fmt 2020-09-04 11:50:24 +02:00
Daniel Wiesenberg
b07602d499 Add docs for Rocket integration 2020-09-04 10:21:05 +02:00
Daniel Wiesenberg
969f10020e Add async Rocket integration 2020-09-04 09:26:34 +02:00