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
Daniel Wiesenberg
9eee6d1616
Add async Rocket integration
2020-09-04 09:26:34 +02:00
Sunli
f87435b96c
Add test for multiple flatten attribute of InputObject.
2020-09-04 14:14:48 +08:00
Sunli
b7163d4f92
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
b5d7944968
Remove debug code.
2020-09-03 20:23:35 +08:00
Sunli
5c3f772e04
Release 1.17.20
...
async-graphql@1.17.20
Generated by cargo-workspaces
2020-09-03 20:21:11 +08:00
Sunli
d393ed260d
Update docs for InputObject macro.
2020-09-03 20:20:33 +08:00
Sunli
4081643f91
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
366c7c03da
Add flatten type field support for input objects. #255
2020-09-03 20:00:33 +08:00
Sunli
fbccfecbc0
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
29b4827e8b
Merge branch 'master' of github.com:async-graphql/async-graphql
2020-09-02 14:29:51 +08:00
Sunli
6439ff690e
Merge pull request #254 from AtsukiTak/patch-1
...
Upgrade MSRV to 1.43
2020-09-02 14:27:55 +08:00
Sunli
2aca257136
Remove unnecessary memory allocation.
2020-09-02 14:27:04 +08:00
Atsuki Takahashi
6c162d0e2f
Upgrade MSRV to 1.43
2020-09-02 15:17:31 +09:00
Sunli
dcfdcb0cc5
Release 1.17.17
...
async-graphql@1.17.17
Generated by cargo-workspaces
2020-09-02 10:47:46 +08:00
Sunli
d2bb44798a
Improve subscriptions performance.
2020-09-02 10:47:18 +08:00
Sunli
5dcef3e938
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
2165ddbc65
Merge branch 'master' of https://github.com/async-graphql/async-graphql
2020-09-01 19:34:05 +08:00
Sunli
59ce5fe9f2
Improve subscriptions performance for warp.
2020-09-01 19:33:35 +08:00
Sunli
646533765d
Merge pull request #253 from Koxiaet/master
...
Improve book and fix serde dependency
2020-09-01 14:06:52 +08:00
Koxiaet
ba5e80f35e
Improve book and fix serde dependency
2020-09-01 06:47:22 +01:00
Sunli
ea75c31ea4
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
ad65e9fe6b
Release 1.17.15
...
async-graphql@1.17.15
Generated by cargo-workspaces
2020-09-01 09:26:53 +08:00
Sunli
f43392dabe
Merge pull request #252 from Koxiaet/master
...
Remove dependency on serde_derive, satisfy Clippy, improve docs
2020-09-01 09:12:17 +08:00