Commit Graph

2211 Commits

Author SHA1 Message Date
Sunli
de1aaf64e7 Release 4.0.6
async-graphql@4.0.6
async-graphql-actix-web@4.0.6
async-graphql-axum@4.0.6
async-graphql-derive@4.0.6
async-graphql-parser@4.0.6
async-graphql-poem@4.0.6
async-graphql-rocket@4.0.6
async-graphql-tide@4.0.6
async-graphql-value@4.0.6
async-graphql-warp@4.0.6

Generated by cargo-workspaces
2022-07-21 10:25:03 +08:00
Sunli
07c1a2e684 Limit recursive depth to 256 by default 2022-07-21 10:14:40 +08:00
Sunli
cfd728a2c6 Release 4.0.5
async-graphql@4.0.5
async-graphql-actix-web@4.0.5
async-graphql-axum@4.0.5
async-graphql-derive@4.0.5
async-graphql-parser@4.0.5
async-graphql-poem@4.0.5
async-graphql-rocket@4.0.5
async-graphql-tide@4.0.5
async-graphql-value@4.0.5
async-graphql-warp@4.0.5

Generated by cargo-workspaces
2022-07-18 16:43:19 +08:00
Sunli
69b09f2636 Fix impossible to specify both name and input_name. #987 2022-07-18 16:34:57 +08:00
Sunli
fc30e51381 Implement Default for StringNumber #980 2022-07-13 15:21:41 +08:00
Dan Bruder
4d3b63804f Bump Rocket from 0.5.0-rc.1 to 0.5.0-rc.2 (#968) 2022-07-10 08:43:18 +08:00
Fabien Penso
bc3d967942 Fix typo (#973) 2022-07-10 08:37:52 +08:00
Edward Rudd
5f443fe532 Fix serializing of JSON default values (#969)
* Fix serializing of JSON default values

* fix format of other code due to new nightly
2022-07-05 06:55:01 +08:00
Edward Rudd
cb780f3f6c Fix nightly rustfmt (#970)
* fix format of other code due to new nightly

* Adjust github fmt checks to use a fixed nightly version
2022-07-05 06:54:07 +08:00
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