tyranron
a515d4b8b9
Fix codegen tests for 1.74 Rust
2023-11-16 21:14:50 +01:00
Kai Ren
316b1887b2
Provide anyhow
crate integration ( #1215 , #988 )
...
- implement `IntoFieldError` for `anyhow::Error`
- add `anyhow` and `backtrace` Cargo features
2023-11-15 19:29:59 +01:00
dependabot[bot]
2215cd0e0b
Upgrade itertools
crate from 0.11 to 0.12 version ( #1214 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 14:38:04 +00:00
Kai Ren
d7103e2ef2
Remove iron
integration ( #1210 )
2023-11-09 23:52:24 -04:00
Audun Halland
e75cf26995
Add Span
to meta::Arguments
and LookAheadArguments
( #1206 , #1209 )
2023-11-09 18:18:46 +01:00
Audun Halland
d0fc062892
Abstract Spanning::start
and Spanning::end
into Span
( #1207 , #1208 )
2023-11-09 15:04:30 +01:00
Benno Tielen
761710205a
Provide axum
integration ( #1088 , #986 , #1184 )
...
- create `juniper_axum` crate in Cargo workspace
- implement `graphql` default `axum` handler for processing GraphQL requests
- implement `extract::JuniperRequest` and `response::JuniperResponse` for custom processing GraphQL requests
- implement `subscriptions::graphql_transport_ws()` default `axum` handler for processing the new `graphql-transport-ws` GraphQL over WebSocket Protocol
- implement `subscriptions::graphql_ws()` default `axum` handler for processing the legacy `graphql-ws` GraphQL over WebSocket Protocol
- implement `subscriptions::serve_graphql_transport_ws()` function for custom processing the new `graphql-transport-ws` GraphQL over WebSocket Protocol
- implement `subscriptions::serve_graphql_ws()` function for custom processing the legacy `graphql-ws` GraphQL over WebSocket Protocol
- provide `examples/simple.rs` of default `juniper_axum` integration
- provide `examples/custom.rs` of custom `juniper_axum` integration
Additionally:
- fix `junper_actix` crate MSRV to 1.73
- add `test_post_with_variables()` case to integration `juniper::http::tests`
Co-authored-by: ilslv <ilya.solovyiov@gmail.com>
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-09 11:57:00 +01:00
dependabot[bot]
ba59c953a7
Upgrade rocket
crate to 0.5.0-rc.4 version ( #1205 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-03 13:37:51 +01:00
dependabot[bot]
d0f50e73e0
Update GraphiQL from 3.0.8 to 3.0.9 version ( #1204 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-02 20:51:34 +00:00
Sören Meier
8b530ebc12
Return slice in LookAheadMethods::children()
instead of Vec
( #1200 )
2023-11-02 13:55:38 +00:00
Sören Meier
da005fcb41
Add field_original_name
and field_alias
to LookAheadMethods
( #1199 )
...
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-02 12:57:00 +00:00
dependabot[bot]
e76b961534
Update GraphiQL from 3.0.7 to 3.0.8 version ( #1203 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-01 18:33:42 +00:00
dependabot[bot]
782eccba47
Upgrade syn
crate to 2.0 version ( #1157 )
...
- replace `proc-macro-error` crate with simplified `common::diagnostic::pollyfill`
- migrate `juniper_codegen_tests` to stable Rust
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-01 19:00:05 +01:00
dependabot[bot]
2598045e89
Update GraphiQL from 3.0.6 to 3.0.7 version ( #1201 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-01 13:06:54 +00:00
Kian-Meng Ang
0fc95ddbff
Integrate codespell for Book ( #1121 )
...
- add `codespell` CI job
- add `book.codespell` Makefile command
- fix Book typos found by codespell
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-10-27 15:51:41 +00:00
Kai Ren
d11e351a49
Use actix-ws
for juniper_actix
subscriptions ( #1197 )
...
- fix panicking issues in `graphql-transport-ws` protocol implementation
- rework `graphql-ws` integration tests in `juniper::http`
- add `graphql-transport-ws` integration tests in `juniper::http`
2023-10-24 17:59:36 +00:00
tyranron
828d059b1b
Fix codegen tests for latest nightly
2023-10-24 18:23:04 +03:00
Kai Ren
aaf28e962d
Merge juniper_graphql_transport_ws
and juniper_graphql_ws
crates ( #1196 , #1022 )
2023-10-17 16:12:20 +02:00
dependabot[bot]
f3a1a0c65d
Support 0.14 version of actix
crate ( #1189 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-10-16 11:48:16 +00:00
tyranron
57628de864
Check std::prelude
hygiene in codegen tests ( #1195 , #1194 )
2023-10-13 21:01:43 +03:00
tyranron
a433a278cf
Fix bigdecimal
crate surviving minimal versions check
2023-10-13 19:39:56 +03:00
tyranron
17a02fa766
Correct fully qualified paths in generated code ( #1195 , #1194 )
2023-10-13 19:28:42 +03:00
Peter Holloway
801820a3b6
Use fully qualified paths in generated code ( #1195 )
...
If user code has a type alias (or custom type) called `Result` or
`Option` etc, this would be used instead of the intended standard
library types causing surprising compile errors from generated code.
Using the fully qualified path allows the generated code to be isolated
from user types.
Includes two basic regression tests covering `Result` and `Send`.
Fixes #1194
2023-10-06 11:59:00 -07:00
Kai Ren
9849736582
Improve WebSocket integration ( #1191 , #1022 )
...
- consider `juniper_graphql_transport_ws` crate on CI
- implement auto-selection of protocol in `juniper_warp` crate
- support `graphql-transport-ws` protocol in `juniper_actix` crate
- implement auto-selection of protocol in `juniper_actix` crate
Additionally:
- move `examples/warp_subscriptions` into `juniper_warp/examples/subscription.rs`
- move `examples/actix_subscriptions` into `juniper_actix/examples/subscription.rs`
- move `examples/basic_subscriptions` into `juniper_subscriptions/examples/basic.rs`
- bump up MSRV of `juniper_actix` crate to 1.68
2023-09-21 23:24:41 +02:00
dependabot[bot]
a74ea9ccb6
Update GraphiQL from 3.0.5 to 3.0.6 version ( #1193 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-09-20 14:30:04 +00:00
dependabot[bot]
cb26dee3b7
Upgrade actix-identity
crate from 0.5 to 0.6 version ( #1192 )
...
Additionally:
- use `cargo check` for MSRV check of `juniper_actix` crate
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-09-20 13:32:24 +00:00
Kai Ren
7e886e8fab
Update GraphQL Playground to 1.7.28 version ( #1190 , #1069 )
...
- track GraphQL Playground new versions via @dependabot
- automate GraphQL Playground integration glue adapting for new versions
2023-09-13 17:10:49 +00:00
Kai Ren
f9d90277bf
Upgrade GraphiQL to 3.0.5 version ( #1188 , #1069 )
...
- track GraphiQL new version via @dependabot
- automate GraphiQL integration glue adapting for new versions
- rework `example/warp_subscriptions` to support subscriptions in new GraphiQL
2023-09-13 17:34:44 +02:00
Kai Ren
f172be5656
Fix operation_name
not being set in juniper_hyper
( #1169 , #1187 )
2023-09-12 14:45:56 +02:00
tyranron
dadd318b85
Revert to resolver = "1"
for Book tests
2023-09-11 18:26:02 +03:00
tyranron
279bbedc3c
Fix CI pipeline
...
- fix codegen tests for latest nightly
- switch workspace default to `resolver = "2"`
- fix `juniper` tests for latest `chrono` version
2023-09-09 15:37:50 +03:00
dependabot[bot]
df9da4c776
Upgrade actions/checkout
to 4 version ( #1185 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 11:13:12 +00:00
tyranron
20c76a6342
Fix codegen tests for latest nightly
2023-09-07 12:42:10 +03:00
Gero Gerke
b375146466
Update GraphiQL ( #1069 )
...
* Update GraphiQL Source
* pass through request headers from header box
---------
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2023-08-28 17:18:23 -04:00
Christian Legnitto
421c8c9d58
Fix codegen tests for latest nightly ( #1182 )
2023-08-27 14:38:40 +00:00
Christian Legnitto
108ccf2715
Clippy fixes ( #1181 )
2023-08-25 22:48:01 +00:00
Chris
27430bf60c
add juniper_graphql_transport_ws crate for new subscription protocol ( #1158 )
...
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2023-08-25 01:02:32 +00:00
thirsty-wing
1474da53f6
Update Gitter link in README.md ( #1175 )
...
The link "https://gitter.im/juniper-graphql " responds with a 404. It appears
that the link should be updated to "https://gitter.im/juniper-graphql/Lobby ".
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2023-08-24 18:40:15 -04:00
tyranron
a297b9b67e
Fix codegen tests for latest nightly
2023-07-10 14:13:05 +03:00
tyranron
b172d51b6e
Get rid of deprecated chrono
functions in juniper
tests
2023-07-10 13:41:28 +03:00
tyranron
f1ecde260c
Improve BigDecimal
parsing from Float
with ryu
crate ( #1176 )
2023-07-10 13:31:32 +03:00
dependabot[bot]
d9dfae6d59
Upgrade bigdecimal
crate 0.4 version ( #1176 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-07-07 14:56:49 +03:00
dependabot[bot]
d7dcb3b2e5
Upgrade pretty_env_logger
crate to 0.5 version ( #1165 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 10:58:23 +00:00
dependabot[bot]
dc86fcf820
Upgrade indexmap
crate to 2.0 version ( #1174 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-07-07 09:47:53 +00:00
dependabot[bot]
9ef6133a14
Upgrade criterion
crate to 0.5 version ( #1166 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 15:30:35 +00:00
dependabot[bot]
74710d8a59
Upgrade itertools
crate to 0.11 version ( #1173 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 22:09:36 +02:00
tyranron
aff49ae5ec
Fix codegen tests for latest nightly
2023-06-23 14:28:12 +02:00
dependabot[bot]
a648dd7275
Fix juniper_rocket
MSRV check by setting minimal version for pear
transitive dependency instead of proc-macro2-diagnostics
( #1152 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-04-04 11:12:38 +00:00
dependabot[bot]
eb571368c3
Upgrade rocket
crate to 0.5.0-rc.3 version in juniper_rocket
( #1153 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 10:00:17 +00:00
Chris
42ad693fcb
Make Clippy happy with is_ascii_*
methods ( #1159 )
2023-04-04 12:11:10 +03:00