Commit Graph

166 Commits

Author SHA1 Message Date
sunli
64aee618fc Make PageInfo available from outside (#52) 2020-05-06 06:52:04 +08:00
sunli
35531b65f8 Change the first parameter of OutputValueType::resolve to be &self 2020-05-05 21:06:48 +08:00
Blaine Bublitz
e4101db924 Relay pagination algorithm 2020-05-05 00:22:01 -07:00
Samuel Hurel
034306cc10 Export the new Cursor type 2020-05-05 09:05:39 +02:00
sunli
d7ea05ab14 Add tests to limit complexity and depth. 2020-05-05 13:46:56 +08:00
Blaine Bublitz
eaa50a52e0 Add Cursor scalar (#48)
* Add Cursor scalar
2020-05-05 13:21:45 +08:00
sunli
18a9a12664 Fixed a type error 2020-05-03 23:00:20 +08:00
sunli
f3697e6a1a Implement OutputType for FieldResult 2020-05-03 22:32:37 +08:00
sunli
220cd1e775 Report subscription stream errors to the client. 2020-05-03 16:02:46 +08:00
sunli
d7df065528 Fixed a bug that caused the subscription request to fail to receive any messages. #45 2020-05-03 10:06:17 +08:00
sunli
c9fe0e9393 Add some test 2020-05-03 09:12:14 +08:00
sunli
ee50ae9be6 Update lib.rs 2020-05-02 10:46:02 +08:00
sunli
331e65a72b Add field guard 2020-05-02 07:57:34 +08:00
Nicolai Unrein
511be1e84d Allow conversion to Any for all types that can be converted to Value. 2020-04-29 12:49:51 +02:00
sunli
3f49ebce0e Move project to async-graphql 2020-04-28 15:41:31 +08:00
sunli
8faa376776 Add tracing extension 2020-04-28 15:01:19 +08:00
sunli
61583f54a3 Replace the impl_scalar macro with the procedural macro Scalar 2020-04-27 17:58:10 +08:00
sunli
4659da9c30 fix #33 2020-04-27 12:57:52 +08:00
sunli
a4b4e69ea7 Remove the redundant field parameter for OutputType::resolve_field. 2020-04-26 15:12:18 +08:00
sunli
70b8ecc311 Update connection_type.rs 2020-04-26 14:40:55 +08:00
sunli
88f6e468e7 Some minor changes 2020-04-26 12:34:08 +08:00
sunli
c1fcaf0b7e Update lib.rs 2020-04-26 10:12:01 +08:00
sunli
3f06a12b3d Update base.rs 2020-04-25 14:57:01 +08:00
sunli
85f3bbe3af Implemented OutputValueType for Box<T> and Arc<T> 2020-04-25 14:51:26 +08:00
Samuel Hurel
6996fae099 Add bson::UtcDateTime support 2020-04-24 19:12:07 +02:00
sunli
740804e327 Extension::result now returns an Option 2020-04-24 10:37:18 +08:00
sunli
964cf0e140 Update context.rs 2020-04-24 10:05:41 +08:00
sunli
11ddf0ae29 Fix typo 2020-04-23 22:54:34 +08:00
sunli
8647688ab5 Update connection.rs 2020-04-23 22:07:41 +08:00
sunli
1917d236ae Use FnvHashMap for Data 2020-04-23 21:36:04 +08:00
sunli
4247cbcb47 v1.9.17 2020-04-23 18:11:03 +08:00
sunli
bf9712ad03 v1.9.15 2020-04-23 15:30:12 +08:00
sunli
d564ce27f1 Websocket transport creates context data from the connect_init.payload property 2020-04-23 14:52:22 +08:00
sunli
a4781523fb v1.9.11
Add context data for subscription
2020-04-23 10:26:16 +08:00
sunli
44bd920ad2 Update error.rs 2020-04-22 19:09:59 +08:00
sunli
8210ab240a Update graphiql_source.rs 2020-04-22 18:47:20 +08:00
sunli
d76decdc16 Clippy cleanup 2020-04-22 15:03:41 +08:00
sunli
279244d106 Fix interface resolver bug 2020-04-22 14:59:14 +08:00
sunli
3724d1c62e Update query.rs 2020-04-22 10:35:07 +08:00
sunli
359d3f64c0 v1.9.8 2020-04-21 20:49:32 +08:00
sunli
c11ed53c48 Add SchemaBuilder::register_type method 2020-04-21 20:47:48 +08:00
sunli
041eb7b1b7 v1.9.7
Add a `ref` attribute to the field attribute of `SimpleObject`.
2020-04-21 15:40:19 +08:00
sunli
98cdfd4c42 v1.9.5 2020-04-21 12:13:14 +08:00
sunli
a11248aa95 Add IntoQueryBuilderOpts 2020-04-21 10:14:14 +08:00
sunli
13b7ce2e59 Merge branch 'master' of github.com:sunli829/async-graphql 2020-04-20 14:40:25 +08:00
sunli
affacd81d0 v1.9.4 2020-04-20 14:37:28 +08:00
nicolaiunrein
248e29c40b Fix url linking from Upload to example. 2020-04-20 07:59:10 +02:00
sunli
18b5ab1c49 Add some docs 2020-04-19 10:28:52 +08:00
sunli
0b9d5ee071 The int64 scalar serializes to a string 2020-04-19 10:17:47 +08:00
sunli
ad9cd7073c Add InputValueValidatorExt trait 2020-04-18 10:25:39 +08:00