Commit Graph

285 Commits

Author SHA1 Message Date
Sunli
5f9e68d349 Update subscription.rs 2020-06-06 12:06:09 +08:00
Sunli
df711b85f1 Release 1.14.19
async-graphql@1.14.19
async-graphql-derive@1.14.19

Generated by cargo-workspaces
2020-06-06 11:49:56 +08:00
Sunli
edec696610 Add tests for feature attribute 2020-06-06 11:49:29 +08:00
Sunli
ef7fa84deb Release 1.14.16
async-graphql@1.14.16
async-graphql-derive@1.14.16

Generated by cargo-workspaces
2020-06-06 09:58:43 +08:00
Sunli
3ca2dada0a Rustfmt and Clippy 2020-06-05 21:42:24 +08:00
Sunli
b31ac79123 add feature attribute to field attribute inside SimpleObject 2020-06-05 21:17:15 +08:00
Coenen Benjamin
1084c44535 add feature attribute to field attribute inside Object (#153)
* add feature support in field attribute
2020-06-05 21:06:53 +08:00
Sunli
48f88f81d1 Release 1.14.13
async-graphql@1.14.13
async-graphql-derive@1.14.13
graphql-benchmark@1.14.13

Generated by cargo-workspaces
2020-06-03 14:51:16 +08:00
Sunli
746544412b Add PostGuard. #129 2020-06-03 14:50:06 +08:00
Sunli
7b40f419ff Release 1.14.12
async-graphql@1.14.12
async-graphql-derive@1.14.12
chat@1.14.12
graphql-benchmark@1.14.12
simple@1.14.12

Generated by cargo-workspaces
2020-06-02 21:48:19 +08:00
Sunli
b10aa5fde8 Little performance optimization. 2020-06-02 12:02:14 +08:00
Sunli
f79b8b867a Release 1.14.8
async-graphql@1.14.8
async-graphql-derive@1.14.8

Generated by cargo-workspaces
2020-05-31 11:59:20 +08:00
Sunli
7f62b7d92c Fix validators bug 2020-05-31 09:55:41 +08:00
Sunli
774f379709 Release 1.14.7
async-graphql@1.14.7
async-graphql-actix-web@1.14.7
async-graphql-derive@1.14.7
async-graphql-parser@1.14.7
async-graphql-tide@1.14.7
async-graphql-warp@1.14.7

Generated by cargo-workspaces
2020-05-29 17:35:49 +08:00
Sunli
51d588e091 Add #![forbid(unsafe_code)] to all sub crates 2020-05-29 17:33:19 +08:00
Sunli
20995ed2e1 Release 1.14.2
async-graphql@1.14.2
async-graphql-derive@1.14.2
async-graphql-parser@1.14.2

Generated by cargo-workspaces
2020-05-28 15:02:23 +08:00
Sunli
43c8daa132 Add MaybeUndefined type (#123)
* Add MaybeUndefined type
2020-05-28 15:00:55 +08:00
sunli
2c978a1122 Release 1.14.0
async-graphql@1.14.0
async-graphql-actix-web@1.14.0
async-graphql-derive@1.14.0
async-graphql-lambda@1.14.0
async-graphql-tide@1.14.0
async-graphql-warp@1.14.0

Generated by cargo-workspaces
2020-05-28 08:26:25 +08:00
Sunli
5ba1b19e52 Merge pull request #118 from mwilliammyers/fix/missing-value
Add  #crate_name to Value in InputValueType derive
2020-05-28 08:09:58 +08:00
Sunli
76ff909ccd New data source (#105)
* New data source
2020-05-28 08:02:00 +08:00
William Myers
e465e562e9 Add #crate_name to Value in InputValueType derive 2020-05-27 13:16:53 -06:00
Sunli
7493449720 Release 1.13.4
async-graphql@1.13.4
async-graphql-actix-web@1.13.4
async-graphql-derive@1.13.4
async-graphql-lambda@1.13.4
async-graphql-parser@1.13.4
async-graphql-tide@1.13.4
async-graphql-warp@1.13.4

Generated by cargo-workspaces
2020-05-27 15:30:18 +08:00
Sunli
997a7ced6a v1.13.3 2020-05-27 10:38:18 +08:00
Sunli
b16fc7b9b9 Add the method parameter to the interface field. #112 2020-05-27 10:25:23 +08:00
Sunli
bb97e86410 Add some tests for default value 2020-05-27 09:27:59 +08:00
Sunli
a9d3ac9cf8 Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
Sunli
de76ff47c9 v1.13.2 2020-05-22 14:16:14 +08:00
sunli
10dc8d9a2f v1.13.1 2020-05-21 21:27:08 +08:00
Sunli
1dcad7e615 v1.13.0 2020-05-21 14:03:23 +08:00
sunli
07fe440772 v1.12.18 2020-05-21 07:46:16 +08:00
sunli
83f6641639 v1.12.17 2020-05-20 20:10:46 +08:00
sunli
6f924efcf4 Add defer tests 2020-05-20 13:42:55 +08:00
Sunli
75bfba057a Add Deferred type and @defer directive. #51 2020-05-19 20:53:29 +08:00
Sunli
f09293b752 v1.12.16 2020-05-19 13:29:44 +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
Sunli
53dcd54f9a v1.12.15 2020-05-19 10:34:10 +08:00
sunli
74eb08f72b v1.12.14 2020-05-18 21:32:38 +08:00
sunli
7c060612a0 v1.12.13 2020-05-18 19:47:20 +08:00
Sunli
ca0b90e064 v1.12.12 2020-05-18 11:39:10 +08:00
Sunli
26e737014e Support multiple lines of rustdoc as a type description. 2020-05-18 10:09:09 +08:00
sunli
4414fd2094 v1.12.11 2020-05-17 16:38:46 +08:00
sunli
b31639e3e9 v1.12.10 2020-05-16 21:23:28 +08:00
sunli
fb54c60aff v1.12.9 2020-05-16 18:19:40 +08:00
sunli
10a8b71adb Preserve field order for introspection. #89 2020-05-16 10:05:48 +08:00
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
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