Koxiaet
e97a7d9def
Publicize resolver utils and move Scalar there
2020-09-23 19:50:35 +01:00
Sunli
e645e9d999
Remove the GQL prefix of all macros. #208
2020-09-18 09:10:24 +08:00
Sunli
70556af838
Add test for ErrorExtensions.
2020-09-17 08:47:41 +08:00
Sunli
1e430b9c11
Remove InputObjectType and add InputValueType/OutputValueType to docs
2020-09-15 09:31:55 +08:00
Sunli
24b80d52d3
Remove all attribute macros that can be replaced by derive.
2020-09-13 11:41:15 +08:00
Koxiaet
35e74a4e17
Create resolver_utils
2020-09-12 10:29:52 +01:00
Koxiaet
c055736101
Rustfmt
2020-09-06 07:16:36 +01:00
Koxiaet
81d85c2535
Rewrite async-graphql-parser
2020-09-06 06:38:31 +01:00
Sunli
2a62c56104
Add derive macro GQLMergeObject. #231
2020-08-10 14:11:46 +08:00
Sunli
2dc61013be
Replace Value::Int and Value::Float with Value::Number.
2020-07-29 09:42:52 +08:00
Sunli
4d3851e1b5
Replace log crate with xlog.
2020-07-15 18:05:24 +08:00
Sunli
43c8daa132
Add MaybeUndefined type ( #123 )
...
* Add MaybeUndefined type
2020-05-28 15:00:55 +08:00
Sunli
76ff909ccd
New data source ( #105 )
...
* New data source
2020-05-28 08:02:00 +08:00
Sunli
a9d3ac9cf8
Implement a type-safe default value definition for InputValue. #111
2020-05-26 20:43:53 +08:00
sunli
6f924efcf4
Add defer tests
2020-05-20 13:42:55 +08:00
Sunli
75bfba057a
Add Deferred type and @defer directive. #51
2020-05-19 20:53:29 +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
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
Samuel Hurel
34f286b2d9
Remove useless as_str on ID
2020-05-10 15:58:56 +02:00
Samuel Hurel
c810764e7e
Simplify ID conversion
2020-05-10 15:52:47 +02:00
sunli
728989209f
The error reason can be returned when the input value is parsed incorrectly. #70
2020-05-10 18:27:46 +08:00
sunli
bc2966bc0d
Improve parser performance.
2020-05-10 10:59:51 +08:00
sunli
dc7c8d5280
Merge branch 'parser'
...
Implement a new GraphQL query parser and remove the dependency on graphql-parser.
2020-05-09 17:55:04 +08:00
Sunli
96f19e8498
Update base.rs
2020-05-06 10:02:25 +08:00
sunli
35531b65f8
Change the first parameter of OutputValueType::resolve to be &self
2020-05-05 21:06:48 +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
61583f54a3
Replace the impl_scalar macro with the procedural macro Scalar
2020-04-27 17:58:10 +08:00
sunli
a4b4e69ea7
Remove the redundant field
parameter for OutputType::resolve_field.
2020-04-26 15:12:18 +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
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
86bdb422b1
Add federation support
2020-04-09 22:03:09 +08:00
sunli
197eed8629
Add mutation resolver
2020-04-03 22:19:15 +08:00
sunli
e6eb331ae4
Named framgment should support the ObjectType.
2020-04-03 21:48:21 +08:00
sunli
0ddf5d913e
Update base.rs
2020-04-03 09:31:58 +08:00
sunli
945730db06
Return the correct type at the union and interface
2020-04-02 20:37:01 +08:00
sunli
14860d9b88
Reimplement the error type and remove the dependency on the anyhow::Error
2020-04-02 10:21:04 +08:00
sunli
fb1fef022b
v1.6.2
2020-03-26 18:30:29 +08:00
sunli
b0369860dd
v1.5.1
2020-03-25 11:39:28 +08:00
sunli
0769513c8b
v1.5.0
...
Improve performance
2020-03-24 18:54:22 +08:00
sunli
99f4184f83
Clippy cleanup
2020-03-21 09:32:13 +08:00
sunli
62b4908ffe
v1.3.2
2020-03-20 11:56:08 +08:00
sunli
724cb21258
add GraphQL Cursor Connections
2020-03-19 17:20:12 +08:00
sunli
18185ed7a2
v0.10.4
2020-03-09 18:05:52 +08:00
sunli
d7692414ea
add some validation code
2020-03-08 20:35:36 +08:00
sunli
61fa882a89
Fixed a problem with the return value reference context lifetime
2020-03-07 18:03:19 +08:00
sunli
b4edae7981
Added support for inline fragment
2020-03-07 10:39:55 +08:00