Commit Graph

2122 Commits

Author SHA1 Message Date
Sunli
7ff5741a30 No longer assumes that a subscription stream that failed to resolve has ended. #744 2021-12-07 11:00:53 +08:00
daly4
caf4be82c1 update to axum 0.4 2021-12-05 21:57:15 -07:00
Sunli
9bb58bd658 Merge branch 'master' of github.com:async-graphql/async-graphql 2021-12-06 09:32:19 +08:00
Sunli
026a5b86fb Update README.md 2021-12-06 09:28:00 +08:00
Sunli
4ef8d393c1 Update CHANGELOG.md 2021-12-05 10:58:37 +08:00
Sunli
f52acc0a69 Release 3.0.12
async-graphql@3.0.12
async-graphql-actix-web@3.0.12
async-graphql-axum@3.0.12
async-graphql-derive@3.0.12
async-graphql-parser@3.0.12
async-graphql-poem@3.0.12
async-graphql-rocket@3.0.12
async-graphql-tide@3.0.12
async-graphql-value@3.0.12
async-graphql-warp@3.0.12

Generated by cargo-workspaces
2021-12-05 10:08:42 +08:00
Sunli
262e0d4cbe Update CHANGELOG.md 2021-12-05 09:45:12 +08:00
Sunli
7f97631704 rustfmt 2021-12-05 09:43:44 +08:00
Sunli
cde3a7c14e
Merge pull request #741 from urkle/fix-interfaces
Fix implicit interfaces not being exposed via the __schema introspection
2021-12-05 09:41:56 +08:00
Edward Rudd
dd548bb046 correct adding implicit interfaces to the schema introspection
If an interface is added manually (as it is not directly referenced by any type) it was not showing up in the introspection.

Now it will be exposed if it is visible and references already accessible types
2021-12-04 19:33:15 -05:00
Sunli
d2a71377a9
Merge pull request #737 from tilpner/tracing-name-error
fix(tracing): add name to error event
2021-12-04 15:16:41 +08:00
Sunli
dc8efaed19
Merge pull request #727 from Eijebong/lets-avoid-dupes
Update darling to 0.13 and bump version
2021-12-04 15:15:49 +08:00
Sunli
031f2391b5 Add some helper methods for BatchRequest.
- BatchRequest::iter
- BatchRequest::iter_mut
- BatchRequest::variables
- BatchRequest::data
- BatchRequest::disable_introspection
2021-12-04 15:14:42 +08:00
Sunli
2c6c0c6c71 Update examples 2021-12-04 14:59:33 +08:00
Sunli
d5e55e7f31 Update CHANGELOG.md 2021-12-04 14:41:52 +08:00
Sunli
3aecc43365 Fix deadlock in dataloader. #555 2021-12-04 14:33:47 +08:00
Sunli
bd578d59f2
Merge branch 'master' into lets-avoid-dupes 2021-12-03 09:08:58 +08:00
tilpner
99275b8093
fix(tracing): add name to error event
According to the opentelemetry specification for traces [0], each span
must have a non-empty name.

[0]: https://github.com/open-telemetry/oteps/blob/main/text/trace/0059-otlp-trace-data-format.md

>  // This field is semantically required to be set to non-empty string.
>  //
>  // This field is required.
>  string name = 6;
2021-12-02 15:59:49 +01:00
Sunli
214f7b297a Release 3.0.11
async-graphql@3.0.11

Generated by cargo-workspaces
2021-12-02 20:25:43 +08:00
Sunli
1cecffb21d Update CHANGELOG.md 2021-12-02 20:25:27 +08:00
Sunli
58bb3442cd Update book #736 2021-12-02 20:22:11 +08:00
Sunli
71deda0523 Fix panic on f32-64::INFINITE/f32-64::NEG_INFINITE/f32-64::NAN output. #735 2021-12-02 20:19:17 +08:00
Sunli
f7b6e9820f Release 3.0.10
async-graphql@3.0.10
async-graphql-derive@3.0.10

Generated by cargo-workspaces
2021-11-30 13:46:42 +08:00
Sunli
40a7192919 Fix the custom validator cannot work on Option<Vec<T>>. 2021-11-30 13:46:23 +08:00
Sunli
fcad1006ef Release 3.0.9
async-graphql@3.0.9
async-graphql-derive@3.0.9

Generated by cargo-workspaces
2021-11-30 12:04:26 +08:00
Sunli
7034734cb4 Fix the validator cannot work on Option<Vec<T>>. 2021-11-30 12:03:55 +08:00
Sunli
d8f68e9c83 Release 3.0.8
async-graphql@3.0.8
async-graphql-derive@3.0.8

Generated by cargo-workspaces
2021-11-30 09:48:33 +08:00
Sunli
5f1e9e9e59 Update CHANGELOG.md 2021-11-30 09:47:42 +08:00
Sunli
7a488aa607 Update README 2021-11-30 09:46:18 +08:00
lfn3
7b80386d49 Add support for SmolStr via a feature.
SmolStr is an immutable "packed" string that uses the space normally occupied
by a String's header if the String is short enough.
2021-11-30 09:44:33 +08:00
Sunli
b7ba6844af #[grapql(validator(list))] no longer applies to max_items and min_items. 2021-11-30 09:40:02 +08:00
Sunli
7b0d2fbefc
Merge pull request #729 from Emilgardis/Emilgardis/issue728
add missing impls for `serde_json::Value`
2021-11-29 23:40:52 +08:00
Emil Gardström
7e062cf489
add missing impls serde_json::Value
Fixes #728
2021-11-29 15:14:27 +01:00
Bastien Orivel
19161e6b8d Update darling to 0.13 and bump version 2021-11-29 11:11:32 +01:00
Sunli
3e586a0f11 Update examples 2021-11-25 16:31:06 +08:00
Sunli
a4dc0e7d61
Merge pull request #721 from jly36963/fix-environment-spelling
docs: environment spelling
2021-11-24 07:36:26 +08:00
Landon Yarrington
4d7b9ef736 docs: environment spelling 2021-11-23 13:48:51 -07:00
Sunli
c1cb7f5717 Release 3.0.7
async-graphql@3.0.7
async-graphql-actix-web@3.0.7
async-graphql-axum@3.0.7
async-graphql-derive@3.0.7
async-graphql-parser@3.0.7
async-graphql-poem@3.0.7
async-graphql-rocket@3.0.7
async-graphql-tide@3.0.7
async-graphql-value@3.0.7
async-graphql-warp@3.0.7

Generated by cargo-workspaces
2021-11-23 09:07:28 +08:00
Sunli
f6fe15554d Fix error extensions cause stack overflow #719 2021-11-23 09:02:52 +08:00
Sunli
e1df643d4f Update CHANGELOG.md 2021-11-21 12:37:31 +08:00
Sunli
10646216cc Update docs 2021-11-20 11:16:48 +08:00
Sunli
c6f536f73d Release 3.0.6
async-graphql@3.0.6
async-graphql-actix-web@3.0.6
async-graphql-axum@3.0.6
async-graphql-derive@3.0.6
async-graphql-parser@3.0.6
async-graphql-poem@3.0.6
async-graphql-rocket@3.0.6
async-graphql-tide@3.0.6
async-graphql-value@3.0.6
async-graphql-warp@3.0.6

Generated by cargo-workspaces
2021-11-20 09:06:47 +08:00
Sunli
81e4cc2142 Custom directive 2021-11-20 09:04:46 +08:00
Sunli
03aaf7d64f Release 3.0.5
async-graphql@3.0.5
async-graphql-actix-web@3.0.5
async-graphql-axum@3.0.5
async-graphql-derive@3.0.5
async-graphql-parser@3.0.5
async-graphql-poem@3.0.5
async-graphql-rocket@3.0.5
async-graphql-tide@3.0.5
async-graphql-value@3.0.5
async-graphql-warp@3.0.5

Generated by cargo-workspaces
2021-11-19 08:35:16 +08:00
Sunli
4a2eef7aa6 Update CHANGELOG.md 2021-11-19 08:35:03 +08:00
Sunli
c79eaad006 Update book 2021-11-19 08:29:45 +08:00
Sunli
2e1f8d1a63 bump actix-web from 4.0.0-beta.10 to 4.0.0-beta.11 2021-11-19 08:18:21 +08:00
Sunli
5c5187c078 Add tide integration 2021-11-19 08:10:47 +08:00
Sunli
477c3ba78a Update CHANGELOG.md 2021-11-18 20:17:05 +08:00
Sunli
e0c557a1a6 Add DirectivesUnique rule 2021-11-18 20:14:56 +08:00