Commit Graph

2338 Commits

Author SHA1 Message Date
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
Sunli b2cb673b9c Merge pull request #917 from bvanneerven/master 2022-05-07 22:12:05 +08:00
Bram van Neerven 0879976df2 added docs for OneofObject 2022-05-07 13:37:11 +02:00
Sunli 46c24b9436 Add tests for #916 2022-05-07 16:51:33 +08:00
Sunli 5ad9f497d8 Remove code and tests related oneof fields. #915 2022-05-07 16:16:01 +08:00
Sunli 96e423ff31 Fixes #911 2022-05-06 09:28:57 +08:00
Sunli de4f908812 Add some options for exporting SDL. #877 2022-05-05 20:09:35 +08:00
Sunli 7a365d5659 Release 4.0.0-alpha.1
async-graphql@4.0.0-alpha.1
async-graphql-actix-web@4.0.0-alpha.1
async-graphql-axum@4.0.0-alpha.1
async-graphql-derive@4.0.0-alpha.1
async-graphql-parser@4.0.0-alpha.1
async-graphql-poem@4.0.0-alpha.1
async-graphql-rocket@4.0.0-alpha.1
async-graphql-tide@4.0.0-alpha.1
async-graphql-value@4.0.0-alpha.1
async-graphql-warp@4.0.0-alpha.1

Generated by cargo-workspaces
2022-05-05 12:49:58 +08:00
Sunli fef97e7458 Integrate with the `uuid08` #907 2022-05-03 15:57:17 +08:00
Sunli 856839923d Merge pull request #909 from cynecx/cleanup 2022-05-03 10:20:22 +08:00
Paul Nguyen 903ebd0060 Remove obsolete `disable_introspection` field in `Request` 2022-05-02 18:12:06 +02:00
Sunli af9a7266ee Update CHANGELOG.md 2022-05-02 17:16:07 +08:00
Sunli 7ec67e3326 Update connection type 2 2022-05-02 16:38:29 +08:00
Sunli e5d47a8f82 Merge pull request #907 from jakeisnt/bump-uuid
Bump version of `uuid` to 1.0
2022-05-02 16:26:41 +08:00
Sunli 52025bf75f Update connection type 2022-05-02 16:20:45 +08:00