Commit Graph

240 Commits

Author SHA1 Message Date
Sunli
f74652e61a Modify some type names (internal types) 2020-05-15 10:08:37 +08:00
sunli
b92f6a568e 1.12.7 2020-05-14 22:14:31 +08:00
Sunli
e0cdefbcb6 v1.12.6 2020-05-14 15:45:02 +08:00
Sunli
3cd98918db Add async-graphql-lambda
Update async-graphql-tide api
2020-05-14 14:50:08 +08:00
sunli
b358b69974 v1.12.3 2020-05-13 19:04:13 +08:00
sunli
a4a92dcb8c Fix the problem described in #80 2020-05-13 11:37:07 +08:00
sunli
352f9e44af v1.12.2 2020-05-13 09:04:53 +08:00
sunli
07a5ee4a9f Update subscription.rs 2020-05-13 09:03:19 +08:00
Samuel Hurel
5afd4a4372 Fix tests 2020-05-12 12:40:57 +02:00
Nicolai Unrein
b59b7bb601 Add extra-traits to async-graphql-derive 2020-05-12 12:04:47 +02:00
sunli
b8095e8dd3 pre-release v1.12.1 2020-05-12 17:20:23 +08:00
Sunli
2f31fb7d09 Merge pull request #80 from IcanDivideBy0/derive_renamed_crate
Allow for crate renaming in Cargo.toml
2020-05-12 16:46:36 +08:00
sunli
7ca752cdfe v1.12.0 2020-05-12 16:41:10 +08:00
Samuel Hurel
e0669219aa Allow for crate renaming in Cargo.toml 2020-05-12 10:38:59 +02: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
Sunli
693ffda56a Merge pull request #75 from phated/interface-enums
Change interfaces & unions to require enums
2020-05-11 13:44:19 +08:00
Sunli
3609eedcd2 DataSource and Scalar macros no longer hide errors. #73
I still haven't figured out why this problem was caused, but I solved it in a way that seemed silly together.
2020-05-11 13:31:13 +08:00
Blaine Bublitz
b7bc7fea12 Change Unions to enums instead of structs 2020-05-10 21:27:30 -07:00
Blaine Bublitz
9ee269c512 Change interfaces to require enums 2020-05-10 20:03:13 -07:00
sunli
2761224335 v1.11.3 2020-05-10 23:02:33 +08:00
sunli
2f25c96955 v1.11.2 2020-05-10 22:13:58 +08:00
sunli
08cf3c5969 v1.11.1 2020-05-10 18:42:57 +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
212c573827 async-graphql-parser v0.2.0 2020-05-10 13:54:57 +08:00
sunli
2f98b09b6b Update args.rs 2020-05-10 13:23:34 +08:00
sunli
f7cbce0d75 v1.11.0 2020-05-10 13:09:57 +08:00
sunli
2755f4f9a9 Use rustdoc comments as graphql desc. #62 2020-05-10 12:41:05 +08:00
sunli
2e3df8ff43 Remove async-graphql-derive dependency on graphql-parser. 2020-05-10 11:12:07 +08:00
sunli
bc2966bc0d Improve parser performance. 2020-05-10 10:59:51 +08:00
sunli
f24c6fceff Add ability to forward field arguments to guard #59 2020-05-09 18:34:57 +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
7ecad73a44 v1.10.12 2020-05-07 20:45:33 +08:00
sunli
39b087e86d v1.10.11 2020-05-07 18:49:26 +08:00
sunli
60a2cde9c3 1.10.10 2020-05-06 06:53:26 +08:00
sunli
35531b65f8 Change the first parameter of OutputValueType::resolve to be &self 2020-05-05 21:06:48 +08:00
sunli
ba0f68db0f v1.10.9 2020-05-05 17:55:01 +08:00
sunli
747cee2524 v1.10.8 2020-05-05 13:50:22 +08:00
sunli
a5b2272b59 v1.10.7 2020-05-05 13:03:55 +08:00
sunli
9b917e19b3 Modify the location of the Guard call. 2020-05-05 13:02:24 +08:00
sunli
02b04d796a v1.10.6 2020-05-04 07:59:30 +08:00
sunli
70e535ad76 v1.10.5 2020-05-03 23:01:14 +08:00
sunli
4acffa774c v1.10.4 2020-05-03 22:33:56 +08:00
sunli
2c53df7bb5 Stops when an error occurs to the subscription stream. 2020-05-03 21:21:54 +08:00
sunli
901aa1e355 v1.10.3 2020-05-03 16:03:27 +08:00
sunli
220cd1e775 Report subscription stream errors to the client. 2020-05-03 16:02:46 +08:00
sunli
b62b8e34c8 v1.10.2 2020-05-03 10:18:45 +08:00
sunli
81e2143015 v1.10.1 2020-05-02 11:03:04 +08:00
sunli
4da5fe3904 v1.10.0 2020-05-02 07:59:00 +08:00
sunli
331e65a72b Add field guard 2020-05-02 07:57:34 +08:00
sunli
7893c2d482 Object, SimpleObject, Subscription to add missing the where clause 2020-04-28 18:05:06 +08:00
sunli
c3344845c6 v1.9.24 2020-04-28 15:56:23 +08:00
sunli
3f49ebce0e Move project to async-graphql 2020-04-28 15:41:31 +08:00
sunli
8faa376776 Add tracing extension 2020-04-28 15:01:19 +08:00
sunli
0cf339bc06 v1.9.23 2020-04-27 18:54:22 +08:00
sunli
96217f81c6 v1.9.22 2020-04-27 18:12:39 +08:00
sunli
61583f54a3 Replace the impl_scalar macro with the procedural macro Scalar 2020-04-27 17:58:10 +08:00
sunli
5ecc75f39c v1.9.21 2020-04-27 14:15:12 +08:00
sunli
f6e95876b8 Fix some bugs 2020-04-27 14:14:29 +08:00
sunli
4b600a27b4 v1.9.20 2020-04-27 13:03:56 +08:00
sunli
4659da9c30 fix #33 2020-04-27 12:57:52 +08:00
sunli
001319776f v1.9.19 2020-04-26 23:10:16 +08:00
sunli
a4b4e69ea7 Remove the redundant field parameter for OutputType::resolve_field. 2020-04-26 15:12:18 +08:00
sunli
88f6e468e7 Some minor changes 2020-04-26 12:34:08 +08:00
sunli
e1d4c81b4e v1.9.18 2020-04-25 15:09:11 +08:00
sunli
4247cbcb47 v1.9.17 2020-04-23 18:11:03 +08:00
sunli
6beeb9b1b5 v1.9.16 2020-04-23 16:09:05 +08:00
sunli
951a792e01 Update subscription.rs 2020-04-23 16:08:32 +08:00
sunli
bf9712ad03 v1.9.15 2020-04-23 15:30:12 +08:00
sunli
3588e40c71 v1.9.14 2020-04-23 14:52:53 +08:00
sunli
dcd01974b0 v1.9.13 2020-04-23 11:46:48 +08:00
sunli
b6b7d9ff61 v1.9.12 2020-04-23 11:27:16 +08:00
sunli
aac2710c99 The subscriptions field supports a return value of type FieldResult 2020-04-23 11:26:36 +08:00
sunli
a4781523fb v1.9.11
Add context data for subscription
2020-04-23 10:26:16 +08:00
sunli
279c1565f0 v1.9.10 2020-04-22 15:00:17 +08:00
sunli
279244d106 Fix interface resolver bug 2020-04-22 14:59:14 +08:00
sunli
00513ffb02 v1.9.9 2020-04-22 13:30:41 +08:00
sunli
359d3f64c0 v1.9.8 2020-04-21 20:49:32 +08:00
sunli
c11ed53c48 Add SchemaBuilder::register_type method 2020-04-21 20:47:48 +08:00
sunli
041eb7b1b7 v1.9.7
Add a `ref` attribute to the field attribute of `SimpleObject`.
2020-04-21 15:40:19 +08:00
sunli
64e68c949b v1.9.6
Add SimpleObject support to Interface
2020-04-21 15:27:43 +08:00
sunli
98cdfd4c42 v1.9.5 2020-04-21 12:13:14 +08:00
sunli
affacd81d0 v1.9.4 2020-04-20 14:37:28 +08:00
sunli
0ea2cb397c v1.9.3 2020-04-18 12:26:25 +08:00
sunli
ad9cd7073c Add InputValueValidatorExt trait 2020-04-18 10:25:39 +08:00
sunli
4cf83e333b Add some docs
v1.9.2
2020-04-17 11:06:33 +08:00
sunli
790060a611 Add some docs 2020-04-16 17:06:46 +08:00
sunli
c7313a6fad v1.9.1 2020-04-14 12:09:59 +08:00
sunli
09d5e5f489 v1.9.0 2020-04-14 09:53:17 +08:00
sunli
a53e61abf9 v1.8.1 2020-04-11 17:40:29 +08:00
sunli
cf9b6a5a41 Update object.rs 2020-04-10 10:37:37 +08:00
sunli
f8613b5276 v1.8.0 2020-04-10 10:26:08 +08:00
sunli
36360bcd4d Add federation example 2020-04-10 10:20:43 +08:00
sunli
86bdb422b1 Add federation support 2020-04-09 22:03:09 +08:00
sunli
03e1604f0b Fixed #attribute not working on the InputObject fields. 2020-04-08 12:02:48 +08:00
sunli
a813ce72a3 v1.7.8 2020-04-08 09:05:54 +08:00
sunli
5a77b6379b Fixed #derive not working on the Enum. 2020-04-07 21:50:10 +08:00
sunli
03a5f8a5bf v1.7.7 2020-04-07 14:31:34 +08:00
sunli
5c710ff744 Add SimpleBroker 2020-04-07 14:30:46 +08:00
sunli
7b85062c6e v1.7.6 2020-04-06 19:57:21 +08:00