Commit Graph

1133 Commits

Author SHA1 Message Date
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
Koxiaet
d34ac0ba08 Make imports consistent 2020-10-15 07:38:10 +01:00
Koxiaet
6dca9e57f1 Rustfmt 2020-10-15 06:56:17 +01:00
Koxiaet
ccae2d4ef5 Clean up crate root and improve context 2020-10-15 06:55:30 +01:00
Sunli
2671e45015 Update Cargo.toml 2020-10-15 09:11:17 +08:00
Sunli
b4587b7ce9 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
b054f1bf9f Fix can no longer derive Union for union types with lifetimes. #311 2020-10-15 08:53:17 +08:00
Sunli
bc5cf2f2a2 Configurable case conversion. 2020-10-14 19:16:10 +08:00
Sunli
b331681fe1 2.0.2 2020-10-14 11:11:52 +08:00
Sunli
53ef84c5e3 Fix a bug in the validator. 2020-10-14 10:54:46 +08:00