Commit Graph

59 Commits

Author SHA1 Message Date
Coenen Benjamin
614fb89703
add feature attribute to field attribute inside Object (#153)
* add feature support in field attribute
2020-06-05 21:06:53 +08:00
Sunli
cfd652576f Add PostGuard. #129 2020-06-03 14:50:06 +08:00
Sunli
38c0f98c20 Little performance optimization. 2020-06-02 12:02:14 +08:00
Sunli
18dacbdf17
Add MaybeUndefined type (#123)
* Add MaybeUndefined type
2020-05-28 15:00:55 +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
42a4639dc3 Preserve field order for introspection. #89 2020-05-16 10:05:48 +08:00
Sunli
9184c999ae Modify some type names (internal types) 2020-05-15 10:08:37 +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
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
85156b69a8 Use rustdoc comments as graphql desc. #62 2020-05-10 12:41:05 +08:00
sunli
36967ffa4f Add ability to forward field arguments to guard #59 2020-05-09 18:34:57 +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
d7e3afc822 Change the first parameter of OutputValueType::resolve to be &self 2020-05-05 21:06:48 +08:00
sunli
e3cab73d53 Modify the location of the Guard call. 2020-05-05 13:02:24 +08:00
sunli
be2898ea01 v1.10.6 2020-05-04 07:59:30 +08:00
sunli
98864c6879 Add field guard 2020-05-02 07:57:34 +08:00
sunli
dec3337ac8 Object, SimpleObject, Subscription to add missing the where clause 2020-04-28 18:05:06 +08:00
sunli
495df5a9ab Add tracing extension 2020-04-28 15:01:19 +08:00
sunli
3ef57de8df Fix some bugs 2020-04-27 14:14:29 +08:00
sunli
1bc97de889 fix #33 2020-04-27 12:57:52 +08:00
sunli
0607c6da56 Remove the redundant field parameter for OutputType::resolve_field. 2020-04-26 15:12:18 +08:00
sunli
26046ce809 v1.9.0 2020-04-14 09:53:17 +08:00
sunli
dc08724d71 Update object.rs 2020-04-10 10:37:37 +08:00
sunli
c6dfe06ef9 Add federation example 2020-04-10 10:20:43 +08:00
sunli
f1d0b3f641 Add federation support 2020-04-09 22:03:09 +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
b56379094f Field method must be async asynchronous
Support for synchronization functions doe provide performance improvement
2020-03-28 20:11:26 +08:00
sunli
8272ed77ff Update object.rs 2020-03-27 17:02:05 +08:00
sunli
66050f38e1 Support for synchronous and asynchronous resolve functions 2020-03-27 11:59:58 +08:00
sunli
50347bc415 v1.6.0 2020-03-26 11:34:28 +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
c6953b0bbf Add CacheControl for object 2020-03-22 16:45:59 +08:00
sunli
934038150e v1.4.2 2020-03-22 09:34:32 +08:00
sunli
b7717c0e24 v1.4.1 2020-03-21 16:13:19 +08:00
sunli
280eff5c9d Add input value validators 2020-03-21 15:07:11 +08:00
sunli
2b2be34d4d Clippy cleanup 2020-03-21 09:32:13 +08:00
sunli
ac044d6d30 add GraphQL Cursor Connections 2020-03-19 17:20:12 +08:00
sunli
e6cfaf134e Support subscription 2020-03-17 17:26:59 +08:00
sunli
5caf8f9c57 auto rename to camelcase 2020-03-09 20:00:57 +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
2351e75f2c fix some bug
add starwars example
2020-03-05 21:34:31 +08:00
sunli
b3340680ba v0.8.0 2020-03-05 17:06:14 +08:00
sunli
b3974737fc implemented query fragment 2020-03-05 15:50:57 +08:00
sunli
e9cc5969f2 Rewrite the object generation code 2020-03-05 14:23:55 +08:00