Commit Graph

32 Commits

Author SHA1 Message Date
Rodgers
0c46512900 Fix clippy error of map_err 2021-07-09 18:59:54 +07:00
Rodgers
d83cce9d3b Keep map_err compatible 2021-07-09 08:20:30 +07:00
Rodgers
53c4945fc4 Update AND, OR, and MapErr logic. Update logic for object input 2021-07-08 23:43:12 +07:00
Rodgers
aa1d4194b5 Add is_valid_with_extensions 2021-07-08 21:37:38 +07:00
Lichuan Shang
406de7c798 fix: typo then => than 2021-05-25 18:20:47 +08:00
Koxiaet
93c886af07 Make imports consistent 2020-10-15 07:38:10 +01:00
Sunli
e60864a18d Rework async-graphql-derive. #288 2020-09-29 16:06:10 +08:00
Sunli
e645e9d999 Remove the GQL prefix of all macros. #208 2020-09-18 09:10:24 +08:00
Sunli
24b80d52d3 Remove all attribute macros that can be replaced by derive. 2020-09-13 11:41:15 +08:00
Sunli
503339f504 InputValueValidator::is_valid function now returns the Result type. #221 2020-07-30 09:43:51 +08:00
Sunli
2dc61013be Replace Value::Int and Value::Float with Value::Number. 2020-07-29 09:42:52 +08:00
Sunli
2452a44484 Add connection::query function 2020-06-02 17:43:13 +08:00
Kevin Schoonover
9b114cf616 Add input validator tests + fix clippy errors 2020-06-01 16:42:13 -05:00
Kevin Schoonover
7c35bf1186 Update input validator errors to be standardized 2020-06-01 16:42:06 -05:00
Kevin Schoonover
eeb9d6219d Fix AND input validator operator 2020-06-01 16:42:06 -05:00
Sunli
89f9a7cbbf Add async_graphql_warp::GQLResponseStream type 2020-06-01 10:40:07 +08:00
Sunli
76035443ac Fix validators bug 2020-06-01 10:19:24 +08:00
Sunli
451f0c27f0 Compilation trouble with StringMinLength validator. #113 2020-05-27 09:42:58 +08:00
Sunli
a9d3ac9cf8 Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
sunli
534837e1b9 Add Context::look_ahead 2020-05-14 22:13:28 +08:00
sunli
dc7c8d5280 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
331e65a72b Add field guard 2020-05-02 07:57:34 +08:00
sunli
4659da9c30 fix #33 2020-04-27 12:57:52 +08:00
sunli
18b5ab1c49 Add some docs 2020-04-19 10:28:52 +08:00
sunli
ad9cd7073c Add InputValueValidatorExt trait 2020-04-18 10:25:39 +08:00
sunli
4cf83e333b Add some docs
v1.9.2
2020-04-17 11:06:33 +08:00
sunli
e1115b0a31 Add some docs 2020-04-16 17:51:10 +08:00
sunli
b88ac80084 The subscription field now returns a stream 2020-04-06 13:49:39 +08:00
sunli
3372512c3d Add validation for the InputObject field 2020-03-30 10:45:41 +08:00
sunli
788a3b558b v1.4.2 2020-03-22 09:34:32 +08:00
sunli
1d0148f63c Add input value validators 2020-03-21 15:07:11 +08:00
sunli
99f4184f83 Clippy cleanup 2020-03-21 09:32:13 +08:00