Commit Graph

1230 Commits

Author SHA1 Message Date
Sunli
4323f300fb Subscription macros now correctly report unsupported attribute errors. 2020-11-07 09:13:53 +08:00
Sunli
9c982a8974 Release 2.0.14
async-graphql@2.0.14
async-graphql-actix-web@2.0.14
async-graphql-tide@2.0.14
async-graphql-warp@2.0.14

Generated by cargo-workspaces
2020-11-07 08:51:40 +08:00
Sunli
66c6823a1c Export sdl for interface to implements another interface. #322 2020-11-07 08:49:08 +08:00
Sunli
b6d48fae91 Fix the problem that the resolver_utils::resolve_container function does not call the extensions. #336 2020-11-07 08:27:50 +08:00
Sunli
54d2154a18 Clippy clean 2020-11-07 08:24:17 +08:00
Sunli
05002c68cb Add Tracing::with_parent function. #337 2020-11-07 08:22:24 +08:00
Sunli
79ab41487c
Merge pull request #335 from zicklag/zicklag-patch-1
Add "Unsafe Forbidden" Badge to the README
2020-11-06 22:25:13 +08:00
Sunli
d38f23aaeb Release 2.0.13
async-graphql@2.0.13
async-graphql-actix-web@2.0.13
async-graphql-tide@2.0.13
async-graphql-warp@2.0.13

Generated by cargo-workspaces
2020-11-06 22:20:43 +08:00
Sunli
4c6adfa07f Fixed a bug that websocket could not push data in a situation. 2020-11-06 22:20:12 +08:00
Zicklag
d0aeaaa2fa
Add "Unsafe Forbidden" Badge to the README 2020-11-05 13:50:43 -06:00
Sunli
6b7adae624 Release 2.0.12
async-graphql@2.0.12
async-graphql-actix-web@2.0.12
async-graphql-derive@2.0.12
async-graphql-tide@2.0.12
async-graphql-warp@2.0.12

Generated by cargo-workspaces
2020-11-04 10:26:32 +08:00
Sunli
cc793e080a Merge branch 'master' of github.com:async-graphql/async-graphql 2020-11-04 10:26:04 +08:00
Sunli
599b5f1c47 Fix the problem that Description derived macro do not support generic objects. 2020-11-04 10:25:30 +08:00
Sunli
7c62b10ebc Fix #333 2020-11-03 18:16:55 +08:00
Sunli
bba37ee86f Release 2.0.11
async-graphql@2.0.11
async-graphql-actix-web@2.0.11
async-graphql-tide@2.0.11
async-graphql-warp@2.0.11

Generated by cargo-workspaces
2020-11-03 13:53:16 +08:00
Sunli
89ab0c799f Fix the problem of scalar macro. 2020-11-03 13:50:22 +08:00
Sunli
ccede153ed Release 2.0.10
async-graphql@2.0.10
async-graphql-actix-web@2.0.10
async-graphql-derive@2.0.10
async-graphql-tide@2.0.10
async-graphql-warp@2.0.10

Generated by cargo-workspaces
2020-11-01 11:33:55 +08:00
Sunli
c1794dbacb Merge branch 'master' of https://github.com/async-graphql/async-graphql 2020-11-01 11:31:59 +08:00
Sunli
82333e49b9 Remove the validation of the content-type by the receive_batch_body function, because this is of little significance. #332 2020-11-01 11:31:54 +08:00
Sunli
c3767f6052
Merge pull request #331 from khalsah/validate-query-hash
Validate the query hash before persisting queries
2020-11-01 09:25:38 +08:00
Hargobind S. Khalsa
0f495cd627 Validate the query hash before persisting queries 2020-10-31 13:53:53 -07:00
Sunli
d4e26192ce Fix interface downcasting. #330 2020-10-31 08:58:54 +08:00
Sunli
b69296c2d5 Update examples submodule 2020-10-28 17:38:47 +08:00
Sunli
5097832539 Fix #327. 2020-10-28 09:39:19 +08:00
Sunli
a43432d530 Add test for SchemaBuilder::override_description. #327 2020-10-27 20:47:24 +08:00
Sunli
bc9626cf95 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
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