Commit Graph

623 Commits

Author SHA1 Message Date
sunli
184a2befbe Update subscription.rs 2020-05-13 09:03:19 +08:00
sunli
39e4147b3b Fix negative number parse. #86 2020-05-13 08:21:38 +08:00
Samuel Hurel
81285f360a
Merge pull request #83 from IcanDivideBy0/fix_tests
Fix tests
2020-05-12 12:53:08 +02:00
Samuel Hurel
32dfd5f88c Fix tests 2020-05-12 12:40:57 +02:00
Nicolai Unrein
b6803d083d Add extra-traits to async-graphql-derive 2020-05-12 12:04:47 +02:00
sunli
1fc93d8de8 Merge branch 'master' of github.com:async-graphql/async-graphql 2020-05-12 17:24:53 +08:00
sunli
1a1d5b4075 pre-release v1.12.1 2020-05-12 17:20:23 +08:00
Nicolai Unrein
c533080c8c add some fixes in error_extensions.md and error_handling.md 2020-05-12 11:13:35 +02:00
Sunli
30f8b9225c
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
9838ef237c v1.12.0 2020-05-12 16:41:10 +08:00
Samuel Hurel
9d638ac004 Allow for crate renaming in Cargo.toml 2020-05-12 10:38:59 +02:00
Sunli
7f2a11d733
Merge pull request #79 from vkill/async-graphql-tide-request-ext
async-graphql-tide: support Extension Traits
2020-05-12 16:36:15 +08:00
sunli
01b2ce8e18 Improve GraphQL query parser performance. #76 2020-05-12 16:27:06 +08:00
vkill
4bf8d6c935 async-graphql-tide: support Extension Traits, ref https://blog.yoshuawuyts.com/tide/ 2020-05-12 09:11:45 +08:00
Nicolai Unrein
aa83cab31b Add From<serde_json::Value> for Json 2020-05-11 17:55:54 +02:00
sunli
a8c7e571e4 Merge branch 'upload-stream' 2020-05-11 21:47:58 +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
Nicolai Unrein
fd9a7553ae Add documentation for error_extensions 2020-05-11 14:25:54 +02:00
Sunli
b521e6c64d It not finished yet. 2020-05-11 17:13:50 +08:00
Sunli
1499b67a78 Update docs 2020-05-11 14:35:12 +08:00
Sunli
a1c8dedd56
Merge pull request #75 from phated/interface-enums
Change interfaces & unions to require enums
2020-05-11 13:44:19 +08:00
Sunli
132811cb91 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
d19ab4c559 Update the books 2020-05-10 21:39:43 -07:00
Blaine Bublitz
548447cdec Change Unions to enums instead of structs 2020-05-10 21:27:30 -07:00
Sunli
c101433b7c Create a boilerplate test code for introspection. #66 2020-05-11 12:24:16 +08:00
Blaine Bublitz
9483ff14be Fix tests 2020-05-10 20:25:49 -07:00
Blaine Bublitz
14e3b4fe69 Change interfaces to require enums 2020-05-10 20:03:13 -07:00
Sunli
f15fa9dbdf fix typo 2020-05-11 10:39:08 +08:00
sunli
14d196feca Upgrade async-trait to 0.1.30. #73 2020-05-11 09:10:57 +08:00
sunli
0bd5e14ee9 v1.11.3 2020-05-10 23:02:33 +08:00
Samuel Hurel
155a065877
Merge pull request #72 from IcanDivideBy0/more_conversion_goodies
Prefer TryFrom to TryInto for ID
2020-05-10 16:44:13 +02:00
Samuel Hurel
9993e86427 impl From<ID> for Cursor 2020-05-10 16:25:16 +02:00
sunli
925f8d6828 v1.11.2 2020-05-10 22:13:58 +08:00
Samuel Hurel
0344b0b996 Prefer TryFrom to TryInto for ID 2020-05-10 16:13:41 +02:00
Sunli
e3542a1360
Merge pull request #71 from IcanDivideBy0/cursor_from_display
Simplify ID and Cursor conversion
2020-05-10 22:09:09 +08:00
Samuel Hurel
327f59e2a9 Remove useless as_str on ID 2020-05-10 15:58:56 +02:00
Samuel Hurel
b2176fe6b0 Simplify ID conversion 2020-05-10 15:52:47 +02:00
Samuel Hurel
690f2b46c5 Simplify cursor conversion 2020-05-10 14:49:52 +02:00
sunli
841e822359 v1.11.1 2020-05-10 18:42:57 +08:00
sunli
4a68ac3786 Add ToGraphQLCursor and ToGraphQLID traits. #54 2020-05-10 18:39:53 +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
2267e961bf async-graphql-parser v0.2.0 2020-05-10 13:54:57 +08:00
Sunli
93dedf1198
Merge pull request #67 from DataCorrupted/master
slightly modified based on Sunli's reply.
2020-05-10 13:53:26 +08:00
Peter Rong
17bd315727 slightly modified based on Sunli's reply.
Signed-off-by: Peter Rong <PeterRong96@gmail.com>
2020-05-09 22:48:41 -07:00
sunli
dc963250e7 Update args.rs 2020-05-10 13:23:34 +08:00
sunli
f64b117859 v1.11.0 2020-05-10 13:09:57 +08:00
sunli
85156b69a8 Use rustdoc comments as graphql desc. #62 2020-05-10 12:41:05 +08:00
sunli
52170b6da3 Remove async-graphql-derive dependency on graphql-parser. 2020-05-10 11:12:07 +08:00
sunli
f7d308be8a Improve parser performance. 2020-05-10 10:59:51 +08:00
sunli
357a0b4cad Update docs 2020-05-10 09:41:13 +08:00