Commit Graph

2210 Commits

Author SHA1 Message Date
Sunli
521769b800 Limit recursive depth to 256 by default 2022-07-21 10:14:40 +08:00
Sunli
ccc6a7ec82 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
8be451b5bd Fix impossible to specify both name and input_name. #987 2022-07-18 16:34:57 +08:00
Sunli
2a6abe7cae Implement Default for StringNumber #980 2022-07-13 15:21:41 +08:00
Dan Bruder
3a69871b38 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
7434a27eb1
Fix typo (#973) 2022-07-10 08:37:52 +08:00
Edward Rudd
036c165644
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
7aba2011c2
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
e839ffafcc Implement Guard for Fn 2022-06-30 10:50:45 +08:00
Sunli
175d8693ff 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
394eb908d0 Update CHANGELOG.md 2022-06-25 14:11:01 +08:00
Sunli
687f26bb79 Fixes #943 2022-06-25 10:56:17 +08:00
Sunli
f8db3d180c Clippy 2022-06-25 10:23:48 +08:00
Ivan Kozik
2d79376c8d
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
44c7a3cd94 Bump Actix-web from 4.0.1 to 4.1.0 2022-06-24 16:12:30 +08:00
Sunli
614a578a3f Fixes #957 2022-06-21 13:58:00 +08:00
Sunli
24a5678b0d Update MSRV 2022-06-20 13:59:57 +08:00
Sunli
f2d7f439a9 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
afc87f2dc8 Update CHANGELOG 2022-06-20 13:54:33 +08:00
iffy-validio
1e555370e0
Make email-validator optional (#950) 2022-06-17 00:23:47 +08:00
Edward Rudd
8ccd27e62d
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
a210f64426
Fix typos (#951) 2022-06-15 22:18:39 +08:00
goodbin
34c8a51f69
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
246ede97de 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
f95c25123b Update CI 2022-06-10 19:03:34 +08:00
Sunli
628bfc8e55 Update CHANGELOG.md 2022-06-10 19:00:12 +08:00
Sunli
b4cf06fd9b Fixes #946 2022-06-10 18:55:12 +08:00
Sunli
f6094de758
Merge pull request #939 from urkle/feat-update-darling
update darling version
2022-06-07 15:35:12 +08:00
Edward Rudd
4c8e9a3408 update darling version
- zxcvbn uses this newer version as well
2022-06-06 13:00:55 -04:00
Sunli
dc50049020 Fixes #848 2022-06-06 12:08:59 +08:00
Sunli
0529f18cb9 Fixes #941 2022-06-06 11:20:48 +08:00
Sunli
7c287fe4fb Rustfmt 2022-06-06 11:18:12 +08:00
Sunli
7cca6d1898
Merge pull request #931 from DoumanAsh/introspection_mode
Expose IntrospectionMode
2022-06-06 09:48:05 +08:00
Sunli
713938c331
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
53cffa57fd 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
d0f7097219 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
f99204d128 run mdbook tests to ensure that the doc examples are valid 2022-06-02 17:27:16 -04:00
Sunli
528dfc3c84 Update docs 2022-05-30 09:34:53 +08:00
Sunli
6f2115c077 Fix typo 2022-05-30 09:30:03 +08:00
Sunli
6b924f7240
Merge pull request #935 from rick68/patch-1 2022-05-28 15:24:38 +08:00
Hsiang-Cheng Yang
ce179f89ac
Update edge.rs
remove the unnecessary quotation mark
2022-05-27 22:11:54 +08:00
Sunli
44b85b2d0e Merge branches 'master' and 'master' of github.com:async-graphql/async-graphql 2022-05-27 15:23:53 +08:00
Sunli
734d282a67 Update book 2022-05-27 15:20:58 +08:00
Sunli
1fa009cecd
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
1d40a35934
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
44de5b2d3e
Merge pull request #933 from DoumanAsh/expose_edge
Expose Edge::node to allow better testing
2022-05-27 15:19:03 +08:00
Douman
2c94b21379 Expose Edge::node to allow better testing 2022-05-27 14:18:13 +09:00
Douman
df8a5939cd Export SDLExportOptions 2022-05-27 14:04:56 +09:00
Douman
e4b1f721aa Expose IntrospectionMode 2022-05-27 12:54:40 +09:00
Douman
3aa7de7403 Update book to connection changes in 4.x.y 2022-05-27 12:53:09 +09:00