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
Sunli
7a34c37ec0
Merge pull request #253 from Koxiaet/master
...
Improve book and fix serde dependency
2020-09-01 14:06:52 +08:00
Koxiaet
1ef34f2c39
Improve book and fix serde dependency
2020-09-01 06:47:22 +01:00
Sunli
b2a0871798
Although the serde_derive
dependency is now removed, it is actually necessary to add a serde_derive
feature to serde. The reason why it can be compiled now is because other dependent packages have this dependency, so it is safer to add this feature here.
2020-09-01 09:35:47 +08:00
Sunli
8cc4ed2741
Release 1.17.15
...
async-graphql@1.17.15
Generated by cargo-workspaces
2020-09-01 09:26:53 +08:00
Sunli
a33f1655f9
Merge pull request #252 from Koxiaet/master
...
Remove dependency on serde_derive, satisfy Clippy, improve docs
2020-09-01 09:12:17 +08:00
Sunli
769bffcbf2
Fix the test code and add docs.
2020-09-01 09:10:12 +08:00
Koxiaet
02f7a5fbbc
Remove dependency on serde_derive, satisfy Clippy, improve docs
2020-08-31 19:18:02 +01:00
Sunli
e8383550ba
Release 1.17.14
...
async-graphql@1.17.14
Generated by cargo-workspaces
2020-08-31 16:13:40 +08:00
Sunli
40d19f2f58
Add DateTime<Local> scalar.
...
Fixed compile problem with `v1.48-nightly`.
2020-08-31 16:12:12 +08:00
Sunli
1856b57f7b
Release 1.17.13
...
async-graphql@1.17.13
Generated by cargo-workspaces
2020-08-31 15:41:19 +08:00