Commit Graph

51 Commits

Author SHA1 Message Date
Sunli
93763997af Rework connection types 2022-04-19 19:18:06 +08:00
Sunli
632529ee3e Add support for oneof field on object. #766 2022-03-04 21:24:17 +08:00
Sunli
b84129c650 Add OneOfObject macro to support for oneof input object. #766 2022-02-17 19:35:55 +08:00
Sunli
e0c557a1a6 Add DirectivesUnique rule 2021-11-18 20:14:56 +08:00
Sunli
732e232a8e Hide types that are not referenced by visible fields. #698 2021-11-12 07:24:04 +08:00
Sunli
91bb9e81fb Specified By - [GraphQL - October 2021] #677 2021-11-02 20:35:05 +08:00
Miaxos
a3b7777516 feat: add visible macro argument for union type 2021-10-11 21:54:50 +00:00
Sunli
b3ca677c7f Update type.rs 2021-06-17 21:02:56 +08:00
Sunli
deeedf11a6 Clippy clean 2021-05-07 10:14:05 +08:00
Sunli
baa837f2ca Allow the deprecation attribute to have no reason. 2021-02-27 11:59:58 +08:00
Sunli
60d4eb5394 Improve the performance of introspection queries. 2021-02-24 12:06:11 +08:00
Sunli
221e4ff279 Fix the problem that the borrowing lifetime returned by the Context::data function is too small. 2021-02-23 23:05:08 +08:00
Sunli
e29b7a3627 Add visible attributes on types, fields, and parameters, allowing some content to be hidden based on conditions. 2020-12-12 16:23:53 +08:00
Olexiy Buyanskyy
d0032c731f removed not needed namespaces 2020-10-23 13:49:00 +03:00
Olexiy Buyanskyy
1ea5958d87 Fixed redundant_closure_for_method_calls
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls
2020-10-23 11:10:00 +03:00
Koxiaet
d34ac0ba08 Make imports consistent 2020-10-15 07:38:10 +01:00
Sunli
bc5cf2f2a2 Configurable case conversion. 2020-10-14 19:16:10 +08:00
Sunli
8c5d8f0324 Rework async-graphql-derive. #288 2020-09-29 16:06:10 +08:00
Sunli
322e296a24 Remove the GQL prefix of all macros. #208 2020-09-18 09:10:24 +08:00
Sunli
f530d01bf4 Remove all attribute macros that can be replaced by derive. 2020-09-13 11:41:15 +08:00
Sunli
a92a619345 Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
Sunli
7ebd825feb Sort __Schema.types and __Schema.directives by name. #93 2020-05-18 11:37:05 +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
85156b69a8 Use rustdoc comments as graphql desc. #62 2020-05-10 12:41:05 +08:00
sunli
98864c6879 Add field guard 2020-05-02 07:57:34 +08:00
sunli
1bc97de889 fix #33 2020-04-27 12:57:52 +08:00
sunli
f7a2fe5fa5 Add SchemaBuilder::register_type method 2020-04-21 20:47:48 +08:00
sunli
50dabfb716 v1.9.4 2020-04-20 14:37:28 +08:00
sunli
16ffb0a7b1 v1.7.8 2020-04-08 09:05:54 +08:00
sunli
f9983def4b Add some test, modified from juniper 2020-04-05 16:00:26 +08:00
sunli
d1abad5127 If the field name or parameter name is wrong, give suggestion 2020-04-03 13:57:24 +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
66050f38e1 Support for synchronous and asynchronous resolve functions 2020-03-27 11:59:58 +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
32703f6fe3 add some validation rules 2020-03-10 14:14:09 +08:00
sunli
5caf8f9c57 auto rename to camelcase 2020-03-09 20:00:57 +08:00
sunli
3de914df7a v0.10.2 2020-03-09 12:08:50 +08:00
sunli
53dcd0aae5 add some validation code 2020-03-08 20:35:36 +08:00
sunli
426d7923dc implemented union type 2020-03-08 09:21:29 +08:00
sunli
70322b9a37 implemented interface 2020-03-06 23:58:43 +08:00
sunli
c52ba00526 Update directive.rs 2020-03-05 21:42:34 +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
sunli
cc96dba8d8 add actix-web example 2020-03-05 08:39:56 +08:00
sunli
92a95dbbf4 implemented directive (@include, @skip) 2020-03-04 14:24:44 +08:00
sunli
602f6a656f Support default values 2020-03-04 10:38:07 +08:00