Commit Graph

1358 Commits

Author SHA1 Message Date
Sunli
c7334100bb Update examples submodule 2020-10-28 17:38:47 +08:00
Sunli
5dc4223d5c Fix #327. 2020-10-28 09:39:19 +08:00
Sunli
8d2c8f9bcc Add test for SchemaBuilder::override_description. #327 2020-10-27 20:47:24 +08:00
Sunli
3052e13c8a Release 2.0.9
async-graphql@2.0.9
async-graphql-actix-web@2.0.9
async-graphql-derive@2.0.9
async-graphql-tide@2.0.9
async-graphql-warp@2.0.9

Generated by cargo-workspaces
2020-10-27 10:06:42 +08:00
Sunli
e34f1351bd Add SchemaBuilder::override_description function. 2020-10-27 10:06:10 +08:00
Sunli
b3ac34a372 Add docs 2020-10-27 09:19:00 +08:00
Koxiaet
153a61d73a Rustfmt 2020-10-26 15:14:53 +00:00
Koxiaet
6d121db587 Merge pull request #324 from simplificAR/master
Modify interface SDL and bump Rocket
2020-10-26 15:13:26 +00:00
Daniel Wiesenberg
fdd9bd19dd Change interface SDL to adhere to spec
When only one interface is implemented, there is no &. The & is only to combine more than one interface.
2020-10-26 14:58:36 +01:00
Daniel Wiesenberg
8653995b29 Bump Rocket integration and examples dependencies 2020-10-26 14:58:36 +01:00
Sunli
320d9eef50 Add use_type_description attribute for derive macros Object, Scalar and Subscription. 2020-10-26 21:34:05 +08:00
Daniel Wiesenberg
e5d1501336 Add Rocket integration to README and book 2020-10-26 08:35:31 +01:00
Daniel Wiesenberg
363508f6fa Add route ranking to rocket integration docs 2020-10-26 08:34:00 +01:00
Sunli
33697ea19f Add interface to implement another interface. #322 2020-10-24 09:08:18 +08:00
Sunli
5f68861926 Improve performance 2020-10-24 08:59:35 +08:00
Koxiaet
9c6e7f4d8e Update examples submodule 2020-10-23 17:45:50 +01:00
Koxiaet
d2cbe82e44 Fix #323 2020-10-23 17:18:37 +01:00
Koxiaet
c2d686f336 Merge pull request #321 from b100pro/redundant_closure_for_method_calls
Fix redundant_closure_for_method_calls
2020-10-23 12:34:36 +01:00
Olexiy Buyanskyy
9f442aa750 removed not needed namespaces 2020-10-23 13:51:09 +03:00
Olexiy Buyanskyy
3ac150bef9 removed not needed namespaces 2020-10-23 13:49:00 +03:00
Olexiy Buyanskyy
baf67f3344 Fixed redundant_closure_for_method_calls
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls
2020-10-23 11:10:00 +03:00
Sunli
2d7f5fd772 Release 2.0.8
async-graphql@2.0.8
async-graphql-actix-web@2.0.8
async-graphql-derive@2.0.8
async-graphql-parser@2.0.8
async-graphql-tide@2.0.8
async-graphql-warp@2.0.8

Generated by cargo-workspaces
2020-10-23 08:27:27 +08:00
Sunli
3bd3de3d09 Derive Serialize for Request and Deserialize for Response. 2020-10-23 08:26:48 +08:00
Sunli
464644e9df Merge pull request #319 from b100pro/clippy_warnings
Collected all clippy warnings and fixed 2
2020-10-22 16:40:45 +08:00
Olexiy Buyanskyy
bd966d5ba3 Collected all clippy warnings and fixed 2
https://rust-lang.github.io/rust-clippy/master/index.html#inefficient_to_string
https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants

Please change `allow` -> `deny` ub src/lib.rs to see other warnings. I feel some of them are important
2020-10-22 09:38:35 +03:00
Sunli
e1be5d5537 Fix typo 2020-10-22 10:11:47 +08:00
Sunli
8d86054b03 Update examples 2020-10-21 12:01:12 +08:00
Sunli
eaad72d895 Release 2.0.7
async-graphql@2.0.7
async-graphql-actix-web@2.0.7
async-graphql-tide@2.0.7
async-graphql-warp@2.0.7

Generated by cargo-workspaces
2020-10-20 19:58:02 +08:00
Sunli
4880c687ca Fix the problem that the Registry::create_dummy_type function may overwrite the keys of the registered type. #316 2020-10-20 19:55:10 +08:00
Sunli
a057480de4 Update examples 2020-10-20 18:30:25 +08:00
Sunli
f96516915d Bump tide 0.13 to 0.14 2020-10-20 16:46:46 +08:00
Sunli
9bd3515ce0 Release 2.0.6
async-graphql@2.0.6
async-graphql-actix-web@2.0.6
async-graphql-derive@2.0.6
async-graphql-tide@2.0.6
async-graphql-warp@2.0.6

Generated by cargo-workspaces
2020-10-20 11:59:04 +08:00
Sunli
e3d693da28 Add entity lookup support for MergedObject.
Add some GraphQL specification constraints for all derived macros.

Use `Registry::create_dummy_type` to create a merged type.
2020-10-20 11:49:31 +08:00
Sunli
b5e602342d Release 2.0.5
async-graphql@2.0.5
async-graphql-actix-web@2.0.5
async-graphql-derive@2.0.5
async-graphql-parser@2.0.5
async-graphql-tide@2.0.5
async-graphql-value@2.0.5
async-graphql-warp@2.0.5

Generated by cargo-workspaces
2020-10-19 10:01:26 +08:00
Sunli
83a0028085 Fix the bug that ʻExtension::prepare_request` cannot get the correct request data through the context.
Add test code for extension.
2020-10-18 11:24:16 +08:00
Sunli
bfaddb2da5 Remove unnecessary Cargo configuration items. 2020-10-18 10:40:09 +08:00
Koxiaet
10d182332c Fix documentation links 2020-10-17 15:27:03 +01:00
Sunli
5a8e75c1df Remove obsolete derived macro attributes. 2020-10-17 08:49:50 +08:00
Sunli
1c29873b14 Update release.yml 2020-10-17 08:19:26 +08:00
Sunli
90187b542b Release 2.0.4
async-graphql@2.0.4
async-graphql-actix-web@2.0.4
async-graphql-derive@2.0.4
async-graphql-parser@2.0.4
async-graphql-tide@2.0.4
async-graphql-value@2.0.4
async-graphql-warp@2.0.4
graphql-benchmark@2.0.4

Generated by cargo-workspaces
2020-10-17 08:01:10 +08:00
Koxiaet
a79ee02958 Fix macro hygiene 2020-10-16 20:21:46 +01:00
Koxiaet
79ad5540a1 Make macros hygienic 2020-10-16 11:37:59 +01:00
Koxiaet
12fe7445c7 Replace futures with futures_util 2020-10-16 07:49:22 +01:00
Koxiaet
6f47b11fed Reduce code duplication in container resolver 2020-10-16 07:12:21 +01:00
Koxiaet
ec8ec740be Avoid locking extensions mutex when possible 2020-10-16 06:52:52 +01:00
Koxiaet
1205d6e91e Remove itertools dependency 2020-10-16 06:37:48 +01:00
Sunli
ec3e1a9044 Update book 2020-10-16 11:12:17 +08:00
Sunli
8c933dbc36 Make imports consistent 2020-10-16 10:45:48 +08:00
Sunli
7f08be60f6 Update CI 2020-10-16 10:45:44 +08:00
Sunli
6b92b8c11b Update examples 2020-10-16 09:23:52 +08:00