Commit Graph

30 Commits

Author SHA1 Message Date
Paul Nguyen
ea5cbfdfab Remove obsolete disable_introspection field in Request 2022-05-02 18:12:06 +02:00
Sunli
93763997af Rework connection types 2022-04-19 19:18:06 +08:00
Sunli
c22158b997 Update tests 2022-04-19 11:06:54 +08:00
Sunli
2cec61aea2 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
c815732826 Add #[non_exhaustive] attribute to Request/Response types 2022-04-19 10:21:56 +08:00
Paul Nguyen
0ebcccd8d9 Allow introspection only schemas 2022-04-18 21:25:02 +02:00
Douman
a78b1415b9 Introduce ability to pre-parse Request's query 2022-04-15 15:58:09 +09:00
Sunli
334307b2c2 Add Union and Interface support for trait objects. #780
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
db3706dafa Clippy 2021-12-30 10:16:49 +08:00
Sunli
031f2391b5 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
2098842400
Removed import for new prelude members: TryFrom, TryInto, FromIterator 2021-10-22 19:34:49 -04:00
Sunli
f62843cbd3 Add Request::disable_introspection method. #456 2021-03-30 11:59:57 +08:00
Sunli
69341df41e Moved Variables from async_graphql::context::Variables to
`async_graphql::Variables`.
2021-02-28 09:37:42 +08:00
Sunli
055936f9ad Derive Serialize for Request and Deserialize for Response. 2020-10-23 08:26:48 +08:00
Koxiaet
d34ac0ba08 Make imports consistent 2020-10-15 07:38:10 +01:00
Sunli
184f8b169d Update docs 2020-10-13 10:19:30 +08:00
Sunli
b0ceb58163 Use value! instead of serde_json::json!. 2020-10-12 10:17:05 +08:00
Sunli
10cd868f4c Some improvements. 2020-10-10 16:28:07 +08:00
Sunli
fd4c2b193b Added Apollo persisted queries extension. #280 2020-09-30 11:37:12 +08:00
Sunli
af2e480b70 Added context for Extension. 2020-09-29 20:47:37 +08:00
Sunli
bf42c4e915 Fixed variables cannot deserialize from null. #282 2020-09-27 19:10:49 +08:00
Koxiaet
38c9c718d6 Reduce code duplication in batches in actix web 2020-09-25 17:38:12 +01:00
Sunli
fa10a55745 Add Request::extension method. #271 2020-09-21 15:53:07 +08:00
Koxiaet
3c04411780 Remove code duplication for batch requests 2020-09-17 19:43:03 +01:00
Sunli
acc1a6f515 Add support for batch queries. 2020-09-17 19:54:12 +08:00
Koxiaet
8796c5e1a7 Replace http::GQLRequest with Request 2020-09-12 17:07:46 +01:00
Sunli
c88747dfe4 Make all tests passed (async-graphql). 2020-09-10 19:35:48 +08:00
Sunli
d5cbbfb05f Merge changes. 2020-09-10 16:54:38 +08:00
Sunli
2f5a1ccf20 Merge branch '2.0' of github.com:async-graphql/async-graphql into 2.0 2020-09-10 16:43:24 +08:00
Sunli
7a90069cad Continue to refactor. 2020-09-10 16:39:43 +08:00