Commit Graph

19 Commits

Author SHA1 Message Date
Edward Rudd 5f443fe532 Fix serializing of JSON default values (#969)
* Fix serializing of JSON default values

* fix format of other code due to new nightly
2022-07-05 06:55:01 +08:00
Paul Nguyen 09f3be4fd1 Allow introspection only schemas 2022-04-18 21:25:02 +02:00
Sunli e899885aa8 Add `Request::disable_introspection` method. #456 2021-03-30 11:59:57 +08:00
Sunli 4f47703118 Switch the async runtime used for testing to Tokio. 2021-03-12 12:47:24 +08:00
Sunli 4ebe0dd4cd Allow the `deprecation` attribute to have no reason. 2021-02-27 11:59:58 +08:00
Sunli 5f2e0ae50d Clippy clean 2021-01-11 09:01:28 +08:00
Sunli c777150dcd Use `value!` instead of `serde_json::json!`. 2020-10-12 10:17:05 +08:00
Sunli e60864a18d Rework async-graphql-derive. #288 2020-09-29 16:06:10 +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 35f17a389c Remove unnecessary Result on Schema::execute_stream function. 2020-09-11 10:47:55 +08:00
Koxiaet 02f7a5fbbc Remove dependency on serde_derive, satisfy Clippy, improve docs 2020-08-31 19:18:02 +01:00
Sunli 2dc61013be Replace Value::Int and Value::Float with Value::Number. 2020-07-29 09:42:52 +08:00
Sunli a9d3ac9cf8 Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
Sunli d00e3e8c25 The scalar name and description attributes are placed on the process macro attributes. #97 2020-05-19 13:27:01 +08:00
Sunli 85c54762bf Sort __Schema.types and __Schema.directives by name. #93 2020-05-18 11:37:05 +08:00
Sunli 26e737014e Support multiple lines of rustdoc as a type description. 2020-05-18 10:09:09 +08:00
krevativ 873f6d3d11 Format introspection tests 2020-05-17 20:59:21 +02:00
krevativ ee32ea5455 Add introspection tests 2020-05-17 20:55:40 +02:00