Commit Graph

1154 Commits

Author SHA1 Message Date
Sunli
b124382e9c Add SchemaBuilder::override_description function. 2020-10-27 10:06:10 +08:00
Sunli
0ead4d99ba Add docs 2020-10-27 09:19:00 +08:00
Koxiaet
10d900a280 Rustfmt 2020-10-26 15:14:53 +00:00
Koxiaet
686f9bcff9
Merge pull request #324 from simplificAR/master
Modify interface SDL and bump Rocket
2020-10-26 15:13:26 +00:00
Daniel Wiesenberg
efd4ee61cb
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
e3990d0a56
Bump Rocket integration and examples dependencies 2020-10-26 14:58:36 +01:00
Sunli
770ed31508 Add use_type_description attribute for derive macros Object, Scalar and Subscription. 2020-10-26 21:34:05 +08:00
Daniel Wiesenberg
2f559e8dde
Add Rocket integration to README and book 2020-10-26 08:35:31 +01:00
Daniel Wiesenberg
0633a2acb1
Add route ranking to rocket integration docs 2020-10-26 08:34:00 +01:00
Sunli
fc35787885 Add interface to implement another interface. #322 2020-10-24 09:08:18 +08:00
Sunli
11e82e56e4 Improve performance 2020-10-24 08:59:35 +08:00
Koxiaet
1a8f432383 Update examples submodule 2020-10-23 17:45:50 +01:00
Koxiaet
c11374b785 Fix #323 2020-10-23 17:18:37 +01:00
Koxiaet
125af524ee
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
aff2751d36 removed not needed namespaces 2020-10-23 13:51:09 +03:00
Olexiy Buyanskyy
d0032c731f removed not needed namespaces 2020-10-23 13:49:00 +03:00
Olexiy Buyanskyy
1ea5958d87 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
4b058bc0ee 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
055936f9ad Derive Serialize for Request and Deserialize for Response. 2020-10-23 08:26:48 +08:00
Sunli
58aea594dc
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
8b5de7db6a 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
c999dd26dd Fix typo 2020-10-22 10:11:47 +08:00
Sunli
fb7112a0e4 Update examples 2020-10-21 12:01:12 +08:00
Sunli
2d8911b500 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
8edd59ffdb 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
65c8b74f7a Update examples 2020-10-20 18:30:25 +08:00
Sunli
27dd1dfa7f Bump tide 0.13 to 0.14 2020-10-20 16:46:46 +08:00
Sunli
0a760ffed1 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
776aadf169 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
eb429083ec 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
7510741311 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
a74e5decb3 Remove unnecessary Cargo configuration items. 2020-10-18 10:40:09 +08:00
Koxiaet
79d8e8a437 Fix documentation links 2020-10-17 15:27:03 +01:00
Sunli
1985f70175 Remove obsolete derived macro attributes. 2020-10-17 08:49:50 +08:00
Sunli
19bdfd2a8e Update release.yml 2020-10-17 08:19:26 +08:00
Sunli
174dffdba7 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
807bad2a72 Fix macro hygiene 2020-10-16 20:21:46 +01:00
Koxiaet
68381cfc65 Make macros hygienic 2020-10-16 11:37:59 +01:00
Koxiaet
db312a372d Replace futures with futures_util 2020-10-16 07:49:22 +01:00
Koxiaet
1b38ec46e0 Reduce code duplication in container resolver 2020-10-16 07:12:21 +01:00
Koxiaet
4e562a86a7 Avoid locking extensions mutex when possible 2020-10-16 06:52:52 +01:00
Koxiaet
a48953899c Remove itertools dependency 2020-10-16 06:37:48 +01:00
Sunli
5ef0f7f928 Update book 2020-10-16 11:12:17 +08:00
Sunli
5e6cc27b4f Make imports consistent 2020-10-16 10:45:48 +08:00
Sunli
df3aff2a30 Update CI 2020-10-16 10:45:44 +08:00
Sunli
fe894dd5f7 Update examples 2020-10-16 09:23:52 +08:00
Sunli
f8905ff629 Update readme 2020-10-16 09:21:16 +08:00
Sunli
a95422fd87 Fixed all tests. 2020-10-16 09:01:19 +08:00
Koxiaet
664f077be3 Update dependencies and make examples submodule 2020-10-15 20:48:06 +01:00
Koxiaet
5c47f1ec57 Require POST for GraphQL requests 2020-10-15 18:42:09 +01:00