Commit Graph

274 Commits

Author SHA1 Message Date
Sunli
45c0b39b34 Release 1.14.8
async-graphql@1.14.8
async-graphql-derive@1.14.8

Generated by cargo-workspaces
2020-05-31 11:59:20 +08:00
Sunli
9700d2bef9 Fix validators bug 2020-05-31 09:55:41 +08:00
Sunli
27c28cda41 Release 1.14.7
async-graphql@1.14.7
async-graphql-actix-web@1.14.7
async-graphql-derive@1.14.7
async-graphql-parser@1.14.7
async-graphql-tide@1.14.7
async-graphql-warp@1.14.7

Generated by cargo-workspaces
2020-05-29 17:35:49 +08:00
Sunli
74ae041426 Add #![forbid(unsafe_code)] to all sub crates 2020-05-29 17:33:19 +08:00
Sunli
19ed9a08f8 Release 1.14.2
async-graphql@1.14.2
async-graphql-derive@1.14.2
async-graphql-parser@1.14.2

Generated by cargo-workspaces
2020-05-28 15:02:23 +08:00
Sunli
18dacbdf17
Add MaybeUndefined type (#123)
* Add MaybeUndefined type
2020-05-28 15:00:55 +08:00
sunli
398354ebeb Release 1.14.0
async-graphql@1.14.0
async-graphql-actix-web@1.14.0
async-graphql-derive@1.14.0
async-graphql-lambda@1.14.0
async-graphql-tide@1.14.0
async-graphql-warp@1.14.0

Generated by cargo-workspaces
2020-05-28 08:26:25 +08:00
Sunli
30a32cf04e
Merge pull request #118 from mwilliammyers/fix/missing-value
Add  #crate_name to Value in InputValueType derive
2020-05-28 08:09:58 +08:00
Sunli
ada2597130
New data source (#105)
* New data source
2020-05-28 08:02:00 +08:00
William Myers
de2b5b5880
Add #crate_name to Value in InputValueType derive 2020-05-27 13:16:53 -06:00
Sunli
51b0c05bb4 Release 1.13.4
async-graphql@1.13.4
async-graphql-actix-web@1.13.4
async-graphql-derive@1.13.4
async-graphql-lambda@1.13.4
async-graphql-parser@1.13.4
async-graphql-tide@1.13.4
async-graphql-warp@1.13.4

Generated by cargo-workspaces
2020-05-27 15:30:18 +08:00
Sunli
afb2061392 v1.13.3 2020-05-27 10:38:18 +08:00
Sunli
ae8234200a Add the method parameter to the interface field. #112 2020-05-27 10:25:23 +08:00
Sunli
42b6b0380f Add some tests for default value 2020-05-27 09:27:59 +08:00
Sunli
a92a619345 Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
Sunli
ebc6c80ddd v1.13.2 2020-05-22 14:16:14 +08:00
sunli
d8078c4f67 v1.13.1 2020-05-21 21:27:08 +08:00
Sunli
a9d9334517 v1.13.0 2020-05-21 14:03:23 +08:00
sunli
70448c1d63 v1.12.18 2020-05-21 07:46:16 +08:00
sunli
41b80c8c37 v1.12.17 2020-05-20 20:10:46 +08:00
sunli
e949cb441c Add defer tests 2020-05-20 13:42:55 +08:00
Sunli
d300e27fa2 Add Deferred type and @defer directive. #51 2020-05-19 20:53:29 +08:00
Sunli
cfbe8c53f2 v1.12.16 2020-05-19 13:29:44 +08:00
Sunli
89bfaac0eb The scalar name and description attributes are placed on the process macro attributes. #97 2020-05-19 13:27:01 +08:00
Sunli
8fb5c6c9cd v1.12.15 2020-05-19 10:34:10 +08:00
sunli
f04a2291f9 v1.12.14 2020-05-18 21:32:38 +08:00
sunli
84e206802a v1.12.13 2020-05-18 19:47:20 +08:00
Sunli
25f8e85004 v1.12.12 2020-05-18 11:39:10 +08:00
Sunli
76b582065d Support multiple lines of rustdoc as a type description. 2020-05-18 10:09:09 +08:00
sunli
241d437f15 v1.12.11 2020-05-17 16:38:46 +08:00
sunli
6dcb3e75a4 v1.12.10 2020-05-16 21:23:28 +08:00
sunli
0093ec6c8b v1.12.9 2020-05-16 18:19:40 +08:00
sunli
42a4639dc3 Preserve field order for introspection. #89 2020-05-16 10:05:48 +08:00
Sunli
14312ba472 Rename async_graphql_parser::ast to async_graphql_parser::query 2020-05-15 10:38:48 +08:00
Sunli
9184c999ae Modify some type names (internal types) 2020-05-15 10:08:37 +08:00
sunli
73abefcaf0 1.12.7 2020-05-14 22:14:31 +08:00
Sunli
8aa1e24b0a v1.12.6 2020-05-14 15:45:02 +08:00
Sunli
191758f9b0 Add async-graphql-lambda
Update async-graphql-tide api
2020-05-14 14:50:08 +08:00
sunli
3870937623 v1.12.3 2020-05-13 19:04:13 +08:00
sunli
fbfc1ff8b2 Fix the problem described in #80 2020-05-13 11:37:07 +08:00
sunli
bdb71f7068 v1.12.2 2020-05-13 09:04:53 +08:00
sunli
184a2befbe Update subscription.rs 2020-05-13 09:03:19 +08:00
Samuel Hurel
32dfd5f88c Fix tests 2020-05-12 12:40:57 +02:00
Nicolai Unrein
b6803d083d Add extra-traits to async-graphql-derive 2020-05-12 12:04:47 +02:00
sunli
1a1d5b4075 pre-release v1.12.1 2020-05-12 17:20:23 +08:00
Sunli
30f8b9225c
Merge pull request #80 from IcanDivideBy0/derive_renamed_crate
Allow for crate renaming in Cargo.toml
2020-05-12 16:46:36 +08:00
sunli
9838ef237c v1.12.0 2020-05-12 16:41:10 +08:00
Samuel Hurel
9d638ac004 Allow for crate renaming in Cargo.toml 2020-05-12 10:38:59 +02:00
sunli
01b2ce8e18 Improve GraphQL query parser performance. #76 2020-05-12 16:27:06 +08:00
sunli
83579077d9 Support Upload Stream #15
I think the previous implementation is not elegant enough, the `QueryBuilder::set_files_holder` function looks disgusting, so I refactored it.
By the way, the performance of parsing InputValue has been optimized, and unnecessary clones have been removed.
2020-05-11 21:47:24 +08:00
Sunli
a1c8dedd56
Merge pull request #75 from phated/interface-enums
Change interfaces & unions to require enums
2020-05-11 13:44:19 +08:00
Sunli
132811cb91 DataSource and Scalar macros no longer hide errors. #73
I still haven't figured out why this problem was caused, but I solved it in a way that seemed silly together.
2020-05-11 13:31:13 +08:00
Blaine Bublitz
548447cdec Change Unions to enums instead of structs 2020-05-10 21:27:30 -07:00
Blaine Bublitz
14e3b4fe69 Change interfaces to require enums 2020-05-10 20:03:13 -07:00
sunli
0bd5e14ee9 v1.11.3 2020-05-10 23:02:33 +08:00
sunli
925f8d6828 v1.11.2 2020-05-10 22:13:58 +08:00
sunli
841e822359 v1.11.1 2020-05-10 18:42:57 +08:00
sunli
6d7d64866b The error reason can be returned when the input value is parsed incorrectly. #70 2020-05-10 18:27:46 +08:00
sunli
2267e961bf async-graphql-parser v0.2.0 2020-05-10 13:54:57 +08:00
sunli
dc963250e7 Update args.rs 2020-05-10 13:23:34 +08:00
sunli
f64b117859 v1.11.0 2020-05-10 13:09:57 +08:00
sunli
85156b69a8 Use rustdoc comments as graphql desc. #62 2020-05-10 12:41:05 +08:00
sunli
52170b6da3 Remove async-graphql-derive dependency on graphql-parser. 2020-05-10 11:12:07 +08:00
sunli
f7d308be8a Improve parser performance. 2020-05-10 10:59:51 +08:00
sunli
36967ffa4f Add ability to forward field arguments to guard #59 2020-05-09 18:34:57 +08:00
sunli
311859e12a Merge branch 'parser'
Implement a new GraphQL query parser and remove the dependency on graphql-parser.
2020-05-09 17:55:04 +08:00
sunli
8d5f908f96 v1.10.12 2020-05-07 20:45:33 +08:00
sunli
99ec304a3f v1.10.11 2020-05-07 18:49:26 +08:00
sunli
b985a00160 1.10.10 2020-05-06 06:53:26 +08:00
sunli
d7e3afc822 Change the first parameter of OutputValueType::resolve to be &self 2020-05-05 21:06:48 +08:00
sunli
9cce28a85d v1.10.9 2020-05-05 17:55:01 +08:00
sunli
8ff6339e50 v1.10.8 2020-05-05 13:50:22 +08:00
sunli
de69a70307 v1.10.7 2020-05-05 13:03:55 +08:00
sunli
e3cab73d53 Modify the location of the Guard call. 2020-05-05 13:02:24 +08:00
sunli
be2898ea01 v1.10.6 2020-05-04 07:59:30 +08:00
sunli
dea7dc3ddd v1.10.5 2020-05-03 23:01:14 +08:00
sunli
5e8eba0baa v1.10.4 2020-05-03 22:33:56 +08:00
sunli
f786ce3275 Stops when an error occurs to the subscription stream. 2020-05-03 21:21:54 +08:00
sunli
f3b0937523 v1.10.3 2020-05-03 16:03:27 +08:00
sunli
95c6c0bbf3 Report subscription stream errors to the client. 2020-05-03 16:02:46 +08:00
sunli
8c2d8bffb4 v1.10.2 2020-05-03 10:18:45 +08:00
sunli
fded6fabcc v1.10.1 2020-05-02 11:03:04 +08:00
sunli
1df09fcf77 v1.10.0 2020-05-02 07:59:00 +08:00
sunli
98864c6879 Add field guard 2020-05-02 07:57:34 +08:00
sunli
dec3337ac8 Object, SimpleObject, Subscription to add missing the where clause 2020-04-28 18:05:06 +08:00
sunli
84745c5179 v1.9.24 2020-04-28 15:56:23 +08:00
sunli
aefe448ede Move project to async-graphql 2020-04-28 15:41:31 +08:00
sunli
495df5a9ab Add tracing extension 2020-04-28 15:01:19 +08:00
sunli
fee4393b3b v1.9.23 2020-04-27 18:54:22 +08:00
sunli
124bf2e831 v1.9.22 2020-04-27 18:12:39 +08:00
sunli
0c541c010d Replace the impl_scalar macro with the procedural macro Scalar 2020-04-27 17:58:10 +08:00
sunli
489f3dce38 v1.9.21 2020-04-27 14:15:12 +08:00
sunli
3ef57de8df Fix some bugs 2020-04-27 14:14:29 +08:00
sunli
c0c0961837 v1.9.20 2020-04-27 13:03:56 +08:00
sunli
1bc97de889 fix #33 2020-04-27 12:57:52 +08:00
sunli
aac5b3bfb2 v1.9.19 2020-04-26 23:10:16 +08:00
sunli
0607c6da56 Remove the redundant field parameter for OutputType::resolve_field. 2020-04-26 15:12:18 +08:00
sunli
d74d1a9346 Some minor changes 2020-04-26 12:34:08 +08:00
sunli
4850d7a77f v1.9.18 2020-04-25 15:09:11 +08:00
sunli
d501f73a08 v1.9.17 2020-04-23 18:11:03 +08:00