Commit Graph

2202 Commits

Author SHA1 Message Date
Sunli
a19298beaf Implement Guard for Fn 2022-06-30 10:50:45 +08:00
Sunli
d551c982b3 Release 4.0.4
async-graphql@4.0.4
async-graphql-actix-web@4.0.4
async-graphql-axum@4.0.4
async-graphql-derive@4.0.4
async-graphql-parser@4.0.4
async-graphql-poem@4.0.4
async-graphql-rocket@4.0.4
async-graphql-tide@4.0.4
async-graphql-value@4.0.4
async-graphql-warp@4.0.4

Generated by cargo-workspaces
2022-06-25 14:12:14 +08:00
Sunli
ef45f9b74f Update CHANGELOG.md 2022-06-25 14:11:01 +08:00
Sunli
c129cf57d6 Fixes #943 2022-06-25 10:56:17 +08:00
Sunli
79e10a221d Clippy 2022-06-25 10:23:48 +08:00
Ivan Kozik
5b7303d3fe Add a prefer_single_line_descriptions option on SDLExportOptions (#955)
* Add a prefer_single_line_descriptions option on SDLExportOptions

The default export uses three lines for each description. Single-line
descriptions improve the readability of the exported SDL when there are
many short descriptions.

* export_sdl: escape " in single-line descriptions

I confirmed that graphql-code-generator properly handles SDL with this escaping.
2022-06-25 10:21:00 +08:00
Sunli
25261e2166 Bump Actix-web from 4.0.1 to 4.1.0 2022-06-24 16:12:30 +08:00
Sunli
6f7ffa9e6b Fixes #957 2022-06-21 13:58:00 +08:00
Sunli
aee319ee01 Update MSRV 2022-06-20 13:59:57 +08:00
Sunli
613f674a23 Release 4.0.3
async-graphql@4.0.3
async-graphql-actix-web@4.0.3
async-graphql-axum@4.0.3
async-graphql-derive@4.0.3
async-graphql-parser@4.0.3
async-graphql-poem@4.0.3
async-graphql-rocket@4.0.3
async-graphql-tide@4.0.3
async-graphql-value@4.0.3
async-graphql-warp@4.0.3

Generated by cargo-workspaces
2022-06-20 13:57:45 +08:00
Sunli
b973d3a21d Update CHANGELOG 2022-06-20 13:54:33 +08:00
iffy-validio
9862a473b5 Make email-validator optional (#950) 2022-06-17 00:23:47 +08:00
Edward Rudd
a445606e5a add nodes exposure on ConectionType so nesting through edges isn't always needed. (#952) 2022-06-17 00:12:07 +08:00
Kian-Meng Ang
359f1ed23b Fix typos (#951) 2022-06-15 22:18:39 +08:00
goodbin
b765b4f6c2 feat: custom error type in axum request extractor (#945)
* feat: custom error type in axum request extractor

Ability to specify a custom type of error in axum request extractor.

* fmt: fix format

* fix: Fix check format

Co-authored-by: GoodBin <olelenkov@gmail.com>
2022-06-11 09:55:16 +08:00
Sunli
bbfdb2e04c Release 4.0.2
async-graphql@4.0.2
async-graphql-actix-web@4.0.2
async-graphql-axum@4.0.2
async-graphql-derive@4.0.2
async-graphql-parser@4.0.2
async-graphql-poem@4.0.2
async-graphql-rocket@4.0.2
async-graphql-tide@4.0.2
async-graphql-value@4.0.2
async-graphql-warp@4.0.2

Generated by cargo-workspaces
2022-06-10 19:26:35 +08:00
Sunli
77760fd793 Update CI 2022-06-10 19:03:34 +08:00
Sunli
ebb5b0052c Update CHANGELOG.md 2022-06-10 19:00:12 +08:00
Sunli
933a818afb Fixes #946 2022-06-10 18:55:12 +08:00
Sunli
227a63d0ad Merge pull request #939 from urkle/feat-update-darling
update darling version
2022-06-07 15:35:12 +08:00
Edward Rudd
844b89dd15 update darling version
- zxcvbn uses this newer version as well
2022-06-06 13:00:55 -04:00
Sunli
900167d300 Fixes #848 2022-06-06 12:08:59 +08:00
Sunli
144c773cd7 Fixes #941 2022-06-06 11:20:48 +08:00
Sunli
a6ee66b749 Rustfmt 2022-06-06 11:18:12 +08:00
Sunli
dd45449de3 Merge pull request #931 from DoumanAsh/introspection_mode
Expose IntrospectionMode
2022-06-06 09:48:05 +08:00
Sunli
4042bd4895 Merge pull request #940 from urkle/feat-book-tests
run book tests and fix book examples
2022-06-04 10:13:20 +08:00
Edward Rudd
93115784f6 split testing so that there is a separate test for minimum supported rust version
- this has to exclude integrations/tide as an indirect dependency requires rust 1.59.0
2022-06-03 14:19:25 -04:00
Edward Rudd
3b7ed74d11 correct doc examples so they compile
- examples to fix still
  - error_extensions.md ResultExt example does not compile!
     - trait ErrorExtensions is not implemented for ParseIntError
  - dataloader
     - requires sqlx to work. So we either "stub" it OR we rewrite them simpler to use a  simple "faux" db library
2022-06-02 17:32:12 -04:00
Edward Rudd
1a0ea01fdb run mdbook tests to ensure that the doc examples are valid 2022-06-02 17:27:16 -04:00
Sunli
45c48fc840 Update docs 2022-05-30 09:34:53 +08:00
Sunli
8388f75a82 Fix typo 2022-05-30 09:30:03 +08:00
Sunli
fde0e8e594 Merge pull request #935 from rick68/patch-1 2022-05-28 15:24:38 +08:00
Hsiang-Cheng Yang
0e3f634176 Update edge.rs
remove the unnecessary quotation mark
2022-05-27 22:11:54 +08:00
Sunli
fb6a8b29e6 Merge branches 'master' and 'master' of github.com:async-graphql/async-graphql 2022-05-27 15:23:53 +08:00
Sunli
5575485c29 Update book 2022-05-27 15:20:58 +08:00
Sunli
fed2734e58 Merge pull request #926 from al8n/master
fix #925 support BigDecimal and support parse from Number for Decimal
2022-05-27 15:19:57 +08:00
Sunli
4d47208fc0 Merge pull request #932 from DoumanAsh/book_update_connection
Update book to connection changes in 4.x.y
2022-05-27 15:19:25 +08:00
Sunli
2259df0a09 Merge pull request #933 from DoumanAsh/expose_edge
Expose Edge::node to allow better testing
2022-05-27 15:19:03 +08:00
Douman
b1a17a5542 Expose Edge::node to allow better testing 2022-05-27 14:18:13 +09:00
Douman
7e692356e2 Export SDLExportOptions 2022-05-27 14:04:56 +09:00
Douman
bf054b0872 Expose IntrospectionMode 2022-05-27 12:54:40 +09:00
Douman
2a0a52011c Update book to connection changes in 4.x.y 2022-05-27 12:53:09 +09:00
Sunli
d14ead03f9 Release 4.0.1
async-graphql@4.0.1
async-graphql-actix-web@4.0.1
async-graphql-axum@4.0.1
async-graphql-derive@4.0.1
async-graphql-parser@4.0.1
async-graphql-poem@4.0.1
async-graphql-rocket@4.0.1
async-graphql-tide@4.0.1
async-graphql-value@4.0.1
async-graphql-warp@4.0.1

Generated by cargo-workspaces
2022-05-24 20:13:40 +08:00
Sunli
d0bb37f419 Add Schema::build_with_ignore_name_conflicts method to specifies a list to ignore type conflict detection. 2022-05-24 20:08:35 +08:00
al8n
2da09de179 fix format 2022-05-21 13:55:58 +08:00
al8n
318c3dfc97 fix #925 support bigdecimal 2022-05-20 22:05:10 +08:00
Sunli
e09494ae03 Release 4.0.0
async-graphql@4.0.0
async-graphql-actix-web@4.0.0
async-graphql-axum@4.0.0
async-graphql-derive@4.0.0
async-graphql-parser@4.0.0
async-graphql-poem@4.0.0
async-graphql-rocket@4.0.0
async-graphql-tide@4.0.0
async-graphql-value@4.0.0
async-graphql-warp@4.0.0

Generated by cargo-workspaces
2022-05-17 08:32:43 +08:00
sunli829
132d0c84e2 Release 4.0.0-alpha.2
async-graphql@4.0.0-alpha.2
async-graphql-actix-web@4.0.0-alpha.2
async-graphql-axum@4.0.0-alpha.2
async-graphql-derive@4.0.0-alpha.2
async-graphql-parser@4.0.0-alpha.2
async-graphql-poem@4.0.0-alpha.2
async-graphql-rocket@4.0.0-alpha.2
async-graphql-tide@4.0.0-alpha.2
async-graphql-value@4.0.0-alpha.2
async-graphql-warp@4.0.0-alpha.2

Generated by cargo-workspaces
2022-05-14 16:54:59 +08:00
sunli829
965ac6ae90 Fixed OneofObject restriction on inner types being unique. #923 2022-05-14 16:43:28 +08:00
Sunli
da725575bd Cache parsed ExecuteDocument in APQ. #919 2022-05-13 18:17:03 +08:00