Commit Graph

858 Commits

Author SHA1 Message Date
Koxiaet
45a08e9b00 Reorder dependencies and remove dependency on mime 2020-09-09 17:03:33 +01: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
Sunli
b4997e4b27 Add test for multiple flatten attribute of InputObject. 2020-09-04 14:14:48 +08:00
Sunli
d2299f0a6d Release 1.17.21
async-graphql@1.17.21
async-graphql-derive@1.17.21

Generated by cargo-workspaces
2020-09-03 20:25:33 +08:00
Sunli
d398506282 Remove debug code. 2020-09-03 20:23:35 +08:00
Sunli
6d14a4a64f Release 1.17.20
async-graphql@1.17.20

Generated by cargo-workspaces
2020-09-03 20:21:11 +08:00
Sunli
44413f32c9 Update docs for InputObject macro. 2020-09-03 20:20:33 +08:00
Sunli
c8e8b1698c Release 1.17.19
async-graphql@1.17.19
async-graphql-derive@1.17.19

Generated by cargo-workspaces
2020-09-03 20:01:12 +08:00
Sunli
78a1a33cda Add flatten type field support for input objects. #255 2020-09-03 20:00:33 +08:00
Sunli
aef2910cfa Release 1.17.18
async-graphql@1.17.18
async-graphql-actix-web@1.17.18
async-graphql-warp@1.17.18

Generated by cargo-workspaces
2020-09-02 14:31:59 +08:00
Sunli
0bd69beb0d Merge branch 'master' of github.com:async-graphql/async-graphql 2020-09-02 14:29:51 +08:00
Sunli
7a60ae2b7d Merge pull request #254 from AtsukiTak/patch-1
Upgrade MSRV to 1.43
2020-09-02 14:27:55 +08:00
Sunli
613549d9c6 Remove unnecessary memory allocation. 2020-09-02 14:27:04 +08:00
Atsuki Takahashi
1262739918 Upgrade MSRV to 1.43 2020-09-02 15:17:31 +09:00
Sunli
749d748908 Release 1.17.17
async-graphql@1.17.17

Generated by cargo-workspaces
2020-09-02 10:47:46 +08:00
Sunli
e79fa24641 Improve subscriptions performance. 2020-09-02 10:47:18 +08:00
Sunli
1f8d69dd32 Release 1.17.16
async-graphql@1.17.16
async-graphql-warp@1.17.16

Generated by cargo-workspaces
2020-09-01 19:41:37 +08:00
Sunli
c3a4bf6e11 Merge branch 'master' of https://github.com/async-graphql/async-graphql 2020-09-01 19:34:05 +08:00
Sunli
ff43bd8a21 Improve subscriptions performance for warp. 2020-09-01 19:33:35 +08:00