Commit Graph

29 Commits

Author SHA1 Message Date
Sunli
88ba75ec70 Rework connection types 2022-04-19 19:18:06 +08:00
Sunli
548655ee71 Update tests 2022-04-19 11:06:54 +08:00
Sunli
ae52749198 Merge branch 'async-graphql-v4' of github.com:async-graphql/async-graphql into async-graphql-v4 2022-04-19 10:31:11 +08:00
Sunli
6cf0496a35 Add #[non_exhaustive] attribute to Request/Response types 2022-04-19 10:21:56 +08:00
Paul Nguyen
09f3be4fd1 Allow introspection only schemas 2022-04-18 21:25:02 +02:00
Douman
22d61df4d7 Introduce ability to pre-parse Request's query 2022-04-15 15:58:09 +09:00
Sunli
707890e551 Add Union and Interface support for trait objects. #780
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
61d1486cd8 Clippy 2021-12-30 10:16:49 +08:00
Sunli
922c2324e2 Add some helper methods for BatchRequest.
- BatchRequest::iter
- BatchRequest::iter_mut
- BatchRequest::variables
- BatchRequest::data
- BatchRequest::disable_introspection
2021-12-04 15:14:42 +08:00
Jeff Registre
30009005d1 Removed import for new prelude members: TryFrom, TryInto, FromIterator 2021-10-22 19:34:49 -04:00
Sunli
e899885aa8 Add Request::disable_introspection method. #456 2021-03-30 11:59:57 +08:00
Sunli
4f2ea5ed50 Moved Variables from async_graphql::context::Variables to
`async_graphql::Variables`.
2021-02-28 09:37:42 +08:00
Sunli
3bd3de3d09 Derive Serialize for Request and Deserialize for Response. 2020-10-23 08:26:48 +08:00
Koxiaet
93c886af07 Make imports consistent 2020-10-15 07:38:10 +01:00
Sunli
6958202238 Update docs 2020-10-13 10:19:30 +08:00
Sunli
c777150dcd Use value! instead of serde_json::json!. 2020-10-12 10:17:05 +08:00
Sunli
87ba51fdd0 Some improvements. 2020-10-10 16:28:07 +08:00
Sunli
a95a532857 Added Apollo persisted queries extension. #280 2020-09-30 11:37:12 +08:00
Sunli
4e7bb1a59c Added context for Extension. 2020-09-29 20:47:37 +08:00
Sunli
012e5ee315 Fixed variables cannot deserialize from null. #282 2020-09-27 19:10:49 +08:00
Koxiaet
aae4c29dd0 Reduce code duplication in batches in actix web 2020-09-25 17:38:12 +01:00
Sunli
47329b9458 Add Request::extension method. #271 2020-09-21 15:53:07 +08:00
Koxiaet
07d2204773 Remove code duplication for batch requests 2020-09-17 19:43:03 +01:00
Sunli
76257403e2 Add support for batch queries. 2020-09-17 19:54:12 +08:00
Koxiaet
dcc7d1be14 Replace http::GQLRequest with Request 2020-09-12 17:07:46 +01:00
Sunli
91c75ced2a Make all tests passed (async-graphql). 2020-09-10 19:35:48 +08:00
Sunli
22d6e20da3 Merge changes. 2020-09-10 16:54:38 +08:00
Sunli
13f094b67e Merge branch '2.0' of github.com:async-graphql/async-graphql into 2.0 2020-09-10 16:43:24 +08:00
Sunli
f3c0d86f12 Continue to refactor. 2020-09-10 16:39:43 +08:00