Commit Graph

15 Commits

Author SHA1 Message Date
Sunli 88ba75ec70 Rework connection types 2022-04-19 19:18:06 +08:00
Sunli db83b9440c Update docs 2021-11-20 11:16:48 +08:00
Sunli 5691f6ca71 Add `serial` attribute for `MergedObject` macro. #539 2021-06-16 15:08:33 +08:00
Sunli b7b9abf40d Add `serial` attribute for `SimpleObject` and `Object` macros. #539 2021-06-15 08:53:26 +08:00
Sunli 4f47703118 Switch the async runtime used for testing to Tokio. 2021-03-12 12:47:24 +08:00
Sunli e3d693da28 Add entity lookup support for MergedObject.
Add some GraphQL specification constraints for all derived macros.

Use `Registry::create_dummy_type` to create a merged type.
2020-10-20 11:49:31 +08:00
Koxiaet 12fe7445c7 Replace futures with futures_util 2020-10-16 07:49:22 +01:00
Sunli c777150dcd Use `value!` instead of `serde_json::json!`. 2020-10-12 10:17:05 +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 91c75ced2a Make all tests passed (async-graphql). 2020-09-10 19:35:48 +08:00
Blaine Bublitz c48f126fcd Use FieldResult for data(), add data_unchecked() for panic 2020-07-06 17:39:53 -07:00
sunli 4659da9c30 fix #33 2020-04-27 12:57:52 +08:00
sunli 6da2e3a528 Add some tests 2020-04-22 21:31:44 +08:00
sunli 197eed8629 Add mutation resolver 2020-04-03 22:19:15 +08:00