Sunli
d280a13b70
Add derive macro GQLMergeObject. #231
2020-08-10 14:11:46 +08:00
Sunli
3395c00603
Replace Value::Int and Value::Float with Value::Number.
2020-07-29 09:42:52 +08:00
Sunli
c7c4de94ed
Replace log crate with xlog.
2020-07-15 18:05:24 +08:00
Sunli
18dacbdf17
Add MaybeUndefined type ( #123 )
...
* Add MaybeUndefined type
2020-05-28 15:00:55 +08:00
Sunli
ada2597130
New data source ( #105 )
...
* New data source
2020-05-28 08:02:00 +08:00
Sunli
a92a619345
Implement a type-safe default value definition for InputValue. #111
2020-05-26 20:43:53 +08:00
sunli
e949cb441c
Add defer tests
2020-05-20 13:42:55 +08:00
Sunli
d300e27fa2
Add Deferred type and @defer directive. #51
2020-05-19 20:53:29 +08:00
Sunli
89bfaac0eb
The scalar name and description attributes are placed on the process macro attributes. #97
2020-05-19 13:27:01 +08:00
sunli
01b2ce8e18
Improve GraphQL query parser performance. #76
2020-05-12 16:27:06 +08:00
sunli
83579077d9
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
327f59e2a9
Remove useless as_str on ID
2020-05-10 15:58:56 +02:00
Samuel Hurel
b2176fe6b0
Simplify ID conversion
2020-05-10 15:52:47 +02:00
sunli
6d7d64866b
The error reason can be returned when the input value is parsed incorrectly. #70
2020-05-10 18:27:46 +08:00
sunli
f7d308be8a
Improve parser performance.
2020-05-10 10:59:51 +08:00
sunli
311859e12a
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
c27fd94308
Update base.rs
2020-05-06 10:02:25 +08:00
sunli
d7e3afc822
Change the first parameter of OutputValueType::resolve to be &self
2020-05-05 21:06:48 +08:00
sunli
bf6bb1f51f
Fixed a type error
2020-05-03 23:00:20 +08:00
sunli
79abc1c52e
Implement OutputType for FieldResult
2020-05-03 22:32:37 +08:00
sunli
0c541c010d
Replace the impl_scalar macro with the procedural macro Scalar
2020-04-27 17:58:10 +08:00
sunli
0607c6da56
Remove the redundant field
parameter for OutputType::resolve_field.
2020-04-26 15:12:18 +08:00
sunli
c545dc31a0
Update base.rs
2020-04-25 14:57:01 +08:00
sunli
d88b3a03ea
Implemented OutputValueType for Box<T> and Arc<T>
2020-04-25 14:51:26 +08:00
sunli
ed9486c072
Clippy cleanup
2020-04-22 15:03:41 +08:00
sunli
6eb6c9cd9a
Fix interface resolver bug
2020-04-22 14:59:14 +08:00
sunli
f1d0b3f641
Add federation support
2020-04-09 22:03:09 +08:00
sunli
9c295ab5ee
Add mutation resolver
2020-04-03 22:19:15 +08:00
sunli
df215e91c7
Named framgment should support the ObjectType.
2020-04-03 21:48:21 +08:00
sunli
6d652509a9
Update base.rs
2020-04-03 09:31:58 +08:00
sunli
4e74044c54
Return the correct type at the union and interface
2020-04-02 20:37:01 +08:00
sunli
10105b8a09
Reimplement the error type and remove the dependency on the anyhow::Error
2020-04-02 10:21:04 +08:00
sunli
25210e0e15
v1.6.2
2020-03-26 18:30:29 +08:00
sunli
41fd8ed40e
v1.5.1
2020-03-25 11:39:28 +08:00
sunli
2fc056ad39
v1.5.0
...
Improve performance
2020-03-24 18:54:22 +08:00
sunli
2b2be34d4d
Clippy cleanup
2020-03-21 09:32:13 +08:00
sunli
d95c0f23b8
v1.3.2
2020-03-20 11:56:08 +08:00
sunli
ac044d6d30
add GraphQL Cursor Connections
2020-03-19 17:20:12 +08:00
sunli
482c5b3cf3
v0.10.4
2020-03-09 18:05:52 +08:00
sunli
53dcd0aae5
add some validation code
2020-03-08 20:35:36 +08:00
sunli
70c0b96395
Fixed a problem with the return value reference context lifetime
2020-03-07 18:03:19 +08:00
sunli
3f8a0229c2
Added support for inline fragment
2020-03-07 10:39:55 +08:00
sunli
70322b9a37
implemented interface
2020-03-06 23:58:43 +08:00
sunli
b3340680ba
v0.8.0
2020-03-05 17:06:14 +08:00
sunli
e9cc5969f2
Rewrite the object generation code
2020-03-05 14:23:55 +08:00
sunli
92a95dbbf4
implemented directive (@include, @skip)
2020-03-04 14:24:44 +08:00
sunli
b7a65b6784
support variables
2020-03-04 11:51:42 +08:00
sunli
602f6a656f
Support default values
2020-03-04 10:38:07 +08:00
sunli
d0c6db0aba
add schema support
2020-03-03 19:15:18 +08:00
sunli
8f448c91e9
create type info
2020-03-03 11:48:49 +08:00