Commit Graph

1674 Commits

Author SHA1 Message Date
Sunli
d116dc2950 Make Schema::execute return HTTP headers when an error occurs. #572 2021-07-16 07:47:43 +08:00
Sunli
5ff488fe68
Merge pull request #575 from oeed/master
Implement `TryFrom<&[SelectionField<'a>]>` for `Lookahead<'a>`
2021-07-15 15:11:11 +08:00
Oliver Cooper
cc34213317 Update CHANGELOG.md 2021-07-15 16:05:31 +12:00
Oliver Cooper
a1c9c6c8ba Replaced panicking From with TryFrom 2021-07-15 16:03:33 +12:00
Oliver Cooper
248136d0b6 Added From<&[SelectionField<'a>]> for Lookahead<'a> 2021-07-15 15:51:44 +12:00
Sunli
1218664ed8
Merge pull request #574 from oeed/master
Changed Lookahead to support multiple fields
2021-07-15 10:00:38 +08:00
Oliver Cooper
4e685f6f91 Update CHANGELOG.md 2021-07-15 13:58:05 +12:00
Sunli
fa78d4eecf Update CHANGELOG.md 2021-07-15 09:47:59 +08:00
Oliver Cooper
a868a9ab07 Changed Lookahead to support multiple fields 2021-07-15 13:16:55 +12:00
Sunli
c1f651254e Attach custom HTTP headers to the response when an error occurs. #572 2021-07-15 08:20:08 +08:00
Sunli
80da563b24 Update guard test 2021-07-15 08:09:29 +08:00
Sunli
73b6ebae42 Update README.md 2021-07-14 12:24:50 +08:00
Sunli
a552a5c536 Update CHANGELOG.md 2021-07-14 11:52:24 +08:00
Sunli
ec8f97ba9e Add binary types to ConstValue and Value. #569 2021-07-14 11:50:47 +08:00
Sunli
9eac2948bc Release 2.9.8
async-graphql@2.9.8
async-graphql-actix-web@2.9.8
async-graphql-derive@2.9.8
async-graphql-parser@2.9.8
async-graphql-tide@2.9.8
async-graphql-value@2.9.8
async-graphql-warp@2.9.8

Generated by cargo-workspaces
2021-07-12 11:16:18 +08:00
Sunli
6e23b24906 Update CHANGELOG.md 2021-07-12 11:15:46 +08:00
Sunli
abf4d5ffb6 Fix SDL print is not stable. #547 2021-07-12 11:14:26 +08:00
Sunli
5537d1db47
Merge pull request #564 from cptrodgers/feature/more-infor-when-output-validator
Feature: Add Error with Extension in Validator
2021-07-10 09:56:45 +08:00
Rodgers
572b363798 Fix clippy error of map_err 2021-07-09 18:59:54 +07:00
Rodgers
4dc65c4ba7 Add Changelog 2021-07-09 18:57:30 +07:00
Rodgers
55fcdf4c5d Keep map_err compatible 2021-07-09 08:20:30 +07:00
Rodgers
0417f4181a Update AND, OR, and MapErr logic. Update logic for object input 2021-07-08 23:43:12 +07:00
Rodgers
abb59b9e3f Add test for is_valid_with_extensions 2021-07-08 22:06:13 +07:00
Rodgers
ab277494d7 Add is_valid_with_extensions 2021-07-08 21:37:38 +07:00
Rodgers
c0b5c22c64 Add report_error_with_extensions 2021-07-08 20:02:49 +07:00
Sunli
cb56008a81 Release 2.9.7
async-graphql@2.9.7
async-graphql-actix-web@2.9.7
async-graphql-derive@2.9.7
async-graphql-parser@2.9.7
async-graphql-tide@2.9.7
async-graphql-value@2.9.7
async-graphql-warp@2.9.7

Generated by cargo-workspaces
2021-07-04 14:21:37 +08:00
Sunli
d09ba7ec95 Update CHANGELOG.md 2021-07-04 14:14:41 +08:00
Sunli
1d2b331579
Merge pull request #562 from nicoulaj/issue-550
Add support for generic `ComplexObject`.
2021-07-04 14:09:14 +08:00
Sunli
afecc99085 Add concrete type support for complex object. 2021-07-04 14:05:08 +08:00
Julien Nicoulaud
eb27dfd62f
#550: fix #[graphql(skip)] breaking compilation on ComplexObjects 2021-07-03 18:04:18 +02:00
Julien Nicoulaud
57badd070a
#550: fix ComplexObject macro adding extra generics parameters declaration 2021-07-03 18:02:28 +02:00
Sunli
f1dd3f380c
Merge pull request #561 from okrplay/master
Remove outdated documentation regarding subscriptions in Tide
2021-07-04 00:00:17 +08:00
Julien Nicoulaud
32d75ec4c9
#550: add unit test for generic Object/Simple/ComplexObject 2021-07-03 18:00:16 +02:00
okrplay
94e8ac85b3
Remove outdated documentation regarding subscriptions in Tide 2021-07-03 17:23:41 +02:00
Sunli
854529c330 Release 2.9.6
async-graphql@2.9.6
async-graphql-actix-web@2.9.6
async-graphql-derive@2.9.6
async-graphql-parser@2.9.6
async-graphql-tide@2.9.6
async-graphql-value@2.9.6
async-graphql-warp@2.9.6

Generated by cargo-workspaces
2021-07-02 13:20:37 +08:00
Sunli
6fce0c3ca3 Update CHANGELOG.md 2021-07-02 10:56:51 +08:00
Sunli
57ae8bcb98
Merge pull request #559 from bram209/feature/rust_decimal_scalar
Add Decimal scalar (from 'rust_decimal' crate)
2021-07-02 10:23:29 +08:00
Bram Hoendervangers
06a9db00b3 add feature to readme 2021-07-01 23:48:59 +02:00
Bram Hoendervangers
648515265b Add decimal scalar 2021-07-01 23:47:30 +02:00
Sunli
16755c8569 Implement From<SelectionField> for Lookahead. #557 2021-07-01 10:36:25 +08:00
Sunli
f395eb9ad6 Release 2.9.5
async-graphql@2.9.5
async-graphql-actix-web@2.9.5
async-graphql-derive@2.9.5
async-graphql-parser@2.9.5
async-graphql-tide@2.9.5
async-graphql-value@2.9.5
async-graphql-warp@2.9.5

Generated by cargo-workspaces
2021-06-29 09:46:52 +08:00
Sunli
cc9c987ecb Update CHANGELOG.md 2021-06-29 09:32:10 +08:00
Sunli
1b173b7588 Allows to get the actual field name and alias in ResolveInfo. #551 2021-06-29 09:30:26 +08:00
Sunli
3b5b0eee25 Release 2.9.4
async-graphql@2.9.4
async-graphql-actix-web@2.9.4
async-graphql-derive@2.9.4
async-graphql-parser@2.9.4
async-graphql-tide@2.9.4
async-graphql-value@2.9.4
async-graphql-warp@2.9.4

Generated by cargo-workspaces
2021-06-21 09:53:07 +08:00
Sunli
7cb30db2f2 Fix the bug that MergedObject may cause panic. #539 2021-06-21 09:48:19 +08:00
Sunli
20ee79993c Clippy clean 2021-06-18 10:43:34 +08:00
Sunli
b3ca677c7f Update type.rs 2021-06-17 21:02:56 +08:00
Sunli
60994fd1be Update CHANGELOG.md 2021-06-17 10:55:30 +08:00
Sunli
44cdc669c6 Release 2.9.3
async-graphql@2.9.3
async-graphql-actix-web@2.9.3
async-graphql-derive@2.9.3
async-graphql-parser@2.9.3
async-graphql-tide@2.9.3
async-graphql-value@2.9.3
async-graphql-warp@2.9.3

Generated by cargo-workspaces
2021-06-17 10:54:43 +08:00
Sunli
f5e3329e86 Implement InputType and OutputType for [T; N] array. 2021-06-17 10:39:27 +08:00