Commit Graph

22 Commits

Author SHA1 Message Date
Sunli
2dc61013be Replace Value::Int and Value::Float with Value::Number. 2020-07-29 09:42:52 +08:00
Nicolai Unrein
74286b912e add tests for overflowing int and float 2020-07-22 14:24:09 +02:00
Sunli
3f4ed0ed8e Fixed panic issue caused by integer and float parsing.. #215 2020-07-22 09:51:42 +08:00
Sunli
4d3851e1b5 Replace log crate with xlog. 2020-07-15 18:05:24 +08:00
Danuel
21311fb838 Add a specification to implement the interface to the interface. 2020-07-05 01:35:25 +09:00
Sunli
51d588e091 Add #![forbid(unsafe_code)] to all sub crates 2020-05-29 17:33:19 +08:00
Sunli
43c8daa132 Add MaybeUndefined type (#123)
* Add MaybeUndefined type
2020-05-28 15:00:55 +08:00
Sunli
a9d3ac9cf8 Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
Sunli
1461210df7 Add logger extension 2020-05-22 11:58:49 +08:00
Sunli
75bfba057a Add Deferred type and @defer directive. #51 2020-05-19 20:53:29 +08:00
sunli
c16d239b65 Remove some unsafe code 2020-05-16 21:14:26 +08:00
sunli
6c7fb0dff7 Schema parser has been implemented. 2020-05-15 22:27:38 +08:00
Sunli
752f6adde8 Define AST types for schema 2020-05-15 11:42:01 +08:00
Sunli
6de85377f7 Rename async_graphql_parser::ast to async_graphql_parser::query 2020-05-15 10:38:48 +08:00
sunli
b15459f20f Fix negative number parse. #86 2020-05-13 08:21:38 +08:00
sunli
8299a54456 Improve GraphQL query parser performance. #76 2020-05-12 16:27:06 +08:00
sunli
8e9aff105e Support Upload Stream #15
I think the previous implementation is not elegant enough, the `QueryBuilder::set_files_holder` function looks disgusting, so I refactored it.
By the way, the performance of parsing InputValue has been optimized, and unnecessary clones have been removed.
2020-05-11 21:47:24 +08:00
Sunli
0e371afb3c It not finished yet. 2020-05-11 17:13:50 +08:00
sunli
2e3df8ff43 Remove async-graphql-derive dependency on graphql-parser. 2020-05-10 11:12:07 +08:00
sunli
bc2966bc0d Improve parser performance. 2020-05-10 10:59:51 +08:00
sunli
0d540465a5 Remove the disgusting functions json_value_to_gql_value and gql_value_to_json_value.😂 2020-05-09 22:16:39 +08:00
sunli
7f7e708614 Move the parser to async-graphql-parser crate. 2020-05-09 22:02:55 +08:00