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
Koxiaet
2756c2cd5b
Require JSON content-type
2020-10-15 18:30:16 +01:00
Koxiaet
7caff6beee
Improve Rocket integration
...
This is breaking, but since updating Rocket is also breaking I think
it's fine not to bump the major version number.
2020-10-15 18:19:20 +01:00
Koxiaet
1a1e2b376f
Improve Warp integration
...
This contains a breaking change; BadRequest now contains a
ParseRequestError instead of an anyhow::Error, so it's implementation is
what the documentation says. I'm not sure whether it's worth bumping
the major version number though.
2020-10-15 14:18:57 +01:00
Sunli
985ee939d4
Add Schema::names
function.
2020-10-15 19:36:54 +08:00
Koxiaet
1a9f90d83e
Improve Tide integration
2020-10-15 11:52:15 +01:00
Sunli
b295de5539
Fix release workflow
2020-10-15 17:47:47 +08:00
Koxiaet
0683b5a6be
Support GET requests in actix-web integration
2020-10-15 10:33:38 +01:00
Sunli
03b276fe7e
Fix a small bug.
2020-10-15 16:45:33 +08:00
Sunli
28072f8bec
Merge pull request #313 from AurelienFT/master
...
Add templates
2020-10-15 16:21:32 +08:00
Aurelien Foucault
d347cac0bd
Add feature and question
2020-10-15 10:01:51 +02:00
Aurelien Foucault
2bfd3b240c
Add template
2020-10-15 09:49:49 +02:00
Koxiaet
725156eda4
Rustfmt
2020-10-15 07:39:53 +01:00