Sunli
24b80d52d3
Remove all attribute macros that can be replaced by derive.
2020-09-13 11:41:15 +08:00
Sunli
dece273372
Implement Into<ID> for all integer types.
2020-09-06 12:33:57 +08:00
Sunli
2dc61013be
Replace Value::Int and Value::Float with Value::Number.
2020-07-29 09:42:52 +08:00
Rob Gilson
ff8fa50718
Add Serialize and Deserialize to ID
...
This should allow types containing IDs to be serialized (eg. for saving to a database).
2020-07-08 01:58:46 -04:00
Sunli
a9d3ac9cf8
Implement a type-safe default value definition for InputValue. #111
2020-05-26 20:43:53 +08:00
Sunli
4ae76b505f
Remove the wrong feature condition.
2020-05-26 11:57:26 +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
Caio
27e5c94731
Fix compilation errors
2020-05-16 13:08:03 -03:00
sunli
c16d239b65
Remove some unsafe code
2020-05-16 21:14:26 +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
c06f871b41
Prefer TryFrom to TryInto for ID
2020-05-10 16:13:41 +02: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
ff6f97d7df
Add ToGraphQLCursor and ToGraphQLID traits. #54
2020-05-10 18:39:53 +08: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
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
Samuel Hurel
12ced257a6
Add ObjectId to ID type conversion
2020-05-07 08:42:34 +02:00
sunli
539c75ee89
Add uuid::Uuid, usize to ID type conversion. #54
2020-05-07 11:15:04 +08:00
sunli
61583f54a3
Replace the impl_scalar macro with the procedural macro Scalar
2020-04-27 17:58:10 +08:00
sunli
36360bcd4d
Add federation example
2020-04-10 10:20:43 +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
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
60b0282a89
Support subscription
2020-03-17 17:26:59 +08:00
sunli
18185ed7a2
v0.10.4
2020-03-09 18:05:52 +08:00
sunli
69b3dea88c
implemented interface
2020-03-06 23:58:43 +08:00
sunli
e9cc5969f2
Rewrite the object generation code
2020-03-05 14:23:55 +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
332faa70fa
query root
2020-03-03 11:48:43 +08:00