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
Sunli
6efc93e6b3
Update readme
2020-10-16 09:21:16 +08:00
Sunli
43bf61754a
Fixed all tests.
2020-10-16 09:01:19 +08:00
Koxiaet
ed2b73949a
Update dependencies and make examples submodule
2020-10-15 20:48:06 +01:00
Koxiaet
4caab70113
Require POST for GraphQL requests
2020-10-15 18:42:09 +01:00
Koxiaet
75be2c5d7f
Require JSON content-type
2020-10-15 18:30:16 +01:00
Koxiaet
7471537036
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
71ed676039
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
c99e0b2e54
Add Schema::names
function.
2020-10-15 19:36:54 +08:00
Koxiaet
f764edc7d1
Improve Tide integration
2020-10-15 11:52:15 +01:00
Sunli
a1d080dc15
Fix release workflow
2020-10-15 17:47:47 +08:00
Koxiaet
fff84a3170
Support GET requests in actix-web integration
2020-10-15 10:33:38 +01:00
Sunli
cac3d4c074
Fix a small bug.
2020-10-15 16:45:33 +08:00
Sunli
57ea644c92
Merge pull request #313 from AurelienFT/master
...
Add templates
2020-10-15 16:21:32 +08:00
Aurelien Foucault
96faa46666
Add feature and question
2020-10-15 10:01:51 +02:00
Aurelien Foucault
5e53426430
Add template
2020-10-15 09:49:49 +02:00
Koxiaet
7c604c0c7c
Rustfmt
2020-10-15 07:39:53 +01:00
Koxiaet
93c886af07
Make imports consistent
2020-10-15 07:38:10 +01:00
Koxiaet
cc115ff1a7
Rustfmt
2020-10-15 06:56:17 +01:00
Koxiaet
4eaa9cb86e
Clean up crate root and improve context
2020-10-15 06:55:30 +01:00
Sunli
29080f16bd
Update Cargo.toml
2020-10-15 09:11:17 +08:00
Sunli
006ca59109
Release 2.0.3
...
async-graphql@2.0.3
async-graphql-actix-web@2.0.3
async-graphql-derive@2.0.3
async-graphql-parser@2.0.3
async-graphql-rocket@2.0.3
async-graphql-tide@2.0.3
async-graphql-value@2.0.3
async-graphql-warp@2.0.3
chat@2.0.3
graphql-benchmark@2.0.3
simple@2.0.3
Generated by cargo-workspaces
2020-10-15 08:56:49 +08:00
Sunli
4fa4b25ce4
Fix can no longer derive Union for union types with lifetimes. #311
2020-10-15 08:53:17 +08:00
Sunli
f9f60d31ec
Configurable case conversion.
2020-10-14 19:16:10 +08:00
Sunli
12f15f4815
2.0.2
2020-10-14 11:11:52 +08:00