Commit Graph

1273 Commits

Author SHA1 Message Date
Sunli
5f2e0ae50d Clippy clean 2021-01-11 09:01:28 +08:00
Naaman Curtis
78a1ea1910 update response to correctly carry headers through (#384)
* update response to correctly carry headers through
2021-01-11 08:05:51 +08:00
Sunli
3d6fecbe51 Merge pull request #383 from naamancurtis/master
Update Headers to use `http::HeaderMap`
2021-01-10 21:04:54 +08:00
Naaman
f92dda0271 Update http-headers to use http::HeaderMap 2021-01-10 10:57:28 +00:00
Sunli
b8279d1e44 Release 2.4.6
async-graphql@2.4.6
async-graphql-actix-web@2.4.6
async-graphql-derive@2.4.6
async-graphql-parser@2.4.6
async-graphql-tide@2.4.6
async-graphql-warp@2.4.6

Generated by cargo-workspaces
2021-01-10 13:50:13 +08:00
Sunli
099415fd42 Implements InputType for Box<T> and Arc<T>. #382 2021-01-10 13:48:18 +08:00
Sunli
5a29f74062 #[Object] on impl dyn TraitObj. #381 2021-01-10 11:21:47 +08:00
Sunli
1e449f9da6 Add Context::set_http_header method. #370 2021-01-10 08:06:48 +08:00
Ejez
50f6d2396c Include full link (#379)
Include the full link to ensure it is always accessible, whether from
github, doc.rs or elsewhere.
2021-01-06 22:06:01 +08:00
Ejez
7f97bf0d12 Fix some book typos (#378) 2021-01-06 22:04:37 +08:00
Sunli
7dc960de19 Update feature-comparsion.md #377 2021-01-06 19:54:48 +08:00
Sunli
6f63eb9223 Release 2.4.5
async-graphql@2.4.5
async-graphql-actix-web@2.4.5
async-graphql-derive@2.4.5
async-graphql-parser@2.4.5
async-graphql-tide@2.4.5
async-graphql-warp@2.4.5

Generated by cargo-workspaces
2021-01-06 11:03:06 +08:00
Sunli
65ca9ef605 Add Schema::federation_sdl method. #376 2021-01-06 11:01:13 +08:00
Sunli
c0ce4d4473 Clippy clean 2021-01-04 08:18:28 +08:00
Sunli
9b7196c3d9 Release 2.4.4
async-graphql@2.4.4
async-graphql-actix-web@2.4.4
async-graphql-tide@2.4.4
async-graphql-warp@2.4.4

Generated by cargo-workspaces
2021-01-01 12:16:51 +08:00
Sunli
7a311f8476 Implements Debug for SelectionField. #364 2021-01-01 12:03:30 +08:00
weihuliu
6605844faa add zh-CN/integrations_to_tide.md (#363)
* add zh-CN/integrations_to_tide.md
2020-12-31 08:05:24 +08:00
Sunli
95a80e7861 Update integrations_to_tide.md 2020-12-29 19:54:49 +08:00
Sunli
0b0b3350ed Merge pull request #362 from krevativ/master
Add the `tide` integration tutorial to the book
2020-12-29 08:55:54 +08:00
krevativ
f2b42aa094 Add tide integration book section 2020-12-28 21:19:55 +01:00
Sunli
6bc74ba15b Release 2.4.3
async-graphql@2.4.3
async-graphql-actix-web@2.4.3
async-graphql-derive@2.4.3
async-graphql-tide@2.4.3
async-graphql-warp@2.4.3

Generated by cargo-workspaces
2020-12-28 19:41:10 +08:00
Sunli
8f32e8e81e Fix #[Object] macro panic with default u32. #361 2020-12-28 18:39:17 +08:00
Sunli
6b10e90de0 Release 2.4.2
async-graphql@2.4.2
async-graphql-actix-web@2.4.2
async-graphql-tide@2.4.2
async-graphql-warp@2.4.2

Generated by cargo-workspaces
2020-12-22 15:17:18 +08:00
Sunli
e9908fd958 Remove the dependency on lru for dataloader. 2020-12-22 14:58:21 +08:00
Sunli
210bb4a025 Release 2.4.1
async-graphql@2.4.1
async-graphql-actix-web@2.4.1
async-graphql-tide@2.4.1
async-graphql-warp@2.4.1

Generated by cargo-workspaces
2020-12-22 10:07:33 +08:00
Sunli
a4b547ce1c Update examples 2020-12-22 10:07:10 +08:00
Sunli
3e6339e630 Improve dataloader 2020-12-22 10:04:21 +08:00
Sunli
1f93298164 Release 2.4.0
async-graphql@2.4.0
async-graphql-actix-web@2.4.0
async-graphql-derive@2.4.0
async-graphql-tide@2.4.0
async-graphql-warp@2.4.0

Generated by cargo-workspaces
2020-12-21 19:57:05 +08:00
Sunli
42f348c5da Merge branch 'dataloader' 2020-12-21 19:24:40 +08:00
Sunli
f58fe85822 Update docs. 2020-12-21 19:23:51 +08:00
Sunli
13e714ca5e Update docs. 2020-12-21 14:21:10 +08:00
Sunli
050e31ca7c Merge branch 'dataloader' 2020-12-21 13:40:10 +08:00
Sunli
af1d501d75 Add dataloader 2020-12-21 13:33:36 +08:00
Sunli
383456f007 Merge pull request #358 from Aaron1011/fix/object-raw-ident
Strip `r#` prefix when constructing getter ident
2020-12-21 08:52:09 +08:00
Aaron Hill
d8780bd720 Strip r# prefix when constructing getter ident
When calling `to_string()` on an identifier, the returned string will
have an `r#` prefix if the original identifer was a raw identifier. This
prefix needs to be removed if the identifier is interpolated into
another identifier (e.g. `__some_prefix__r#other_ident`) in order for
the new identifier to be valid.

This issue was previously masked due to the fact that the relevant test
uses `r#i32`. It's possible to use `i32` as a normal (non-raw) ident -
due to a bug in rustc, this means that the user-supplied `r#` prefix
will be lost when calling `to_string()`. This bug will eventually be
fixed, causing `to_string()` to start returning `r#i32` instead of
`i32`.

This commit strips the `r#` prefix (if present) from an identifier
before using it to construct a new identifier. The relevant test is
updated to use `r#match`, which actually requires the `r#` prefix to be
a valid identifier. This causes the test to fail without this patch on
current versions of Rust.
2020-12-20 19:08:22 -05:00
Sunli
f8b8099209 Release 2.3.2
async-graphql@2.3.2
async-graphql-actix-web@2.3.2
async-graphql-derive@2.3.2
async-graphql-tide@2.3.2
async-graphql-warp@2.3.2

Generated by cargo-workspaces
2020-12-19 18:40:00 +08:00
Sunli
6043543df7 Add custom complexity for subscription. 2020-12-19 18:39:33 +08:00
Sunli
725cb668aa Release 2.3.1
async-graphql@2.3.1
async-graphql-actix-web@2.3.1
async-graphql-tide@2.3.1
async-graphql-warp@2.3.1

Generated by cargo-workspaces
2020-12-18 23:58:48 +08:00
Sunli
0d76987f40 Add Analyzer extension. 2020-12-18 23:58:03 +08:00
Sunli
5120813937 Update docs. 2020-12-18 23:10:57 +08:00
Sunli
c49c3ffa07 Update docs. 2020-12-18 19:31:36 +08:00
Sunli
fa66dda3b6 Release 2.3.0
async-graphql@2.3.0
async-graphql-actix-web@2.3.0
async-graphql-derive@2.3.0
async-graphql-tide@2.3.0
async-graphql-warp@2.3.0

Generated by cargo-workspaces
2020-12-18 19:09:43 +08:00
Sunli
bf9e3ec578 Improve depth and complex. 2020-12-18 18:56:28 +08:00
Sunli
c6d8df0bdb Remove async-channel and async-mutex from dependencies. 2020-12-17 10:05:32 +08:00
Sunli
8bc6524895 Release 2.2.0
async-graphql@2.2.0
async-graphql-actix-web@2.2.0
async-graphql-derive@2.2.0
async-graphql-tide@2.2.0
async-graphql-warp@2.2.0

Generated by cargo-workspaces
2020-12-15 20:30:36 +08:00
Sunli
fe24247c9d Add the skip attribute to the InputObject fields. 2020-12-15 20:29:59 +08:00
Sunli
004ff93557 Update docs 2020-12-15 15:12:05 +08:00
Sunli
e8f56f1ca9 Release 2.1.9
async-graphql@2.1.9
async-graphql-actix-web@2.1.9
async-graphql-tide@2.1.9
async-graphql-warp@2.1.9

Generated by cargo-workspaces
2020-12-15 10:06:20 +08:00
Sunli
56b60a0f56 Update docs 2020-12-15 10:05:44 +08:00
Sunli
43aa06e8dd Release 2.1.8
async-graphql@2.1.8
async-graphql-actix-web@2.1.8
async-graphql-derive@2.1.8
async-graphql-tide@2.1.8
async-graphql-warp@2.1.8

Generated by cargo-workspaces
2020-12-12 17:05:40 +08:00