Commit Graph

191 Commits

Author SHA1 Message Date
Sunli
6de85377f7 Rename async_graphql_parser::ast to async_graphql_parser::query 2020-05-15 10:38:48 +08:00
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