Commit graph

34 commits

Author SHA1 Message Date
tyranron
dc19d85fae
Tune lints for 1.83 Rust 2024-11-29 15:26:08 +01:00
tyranron
fb96fb1dd1
Update codegen tests for 1.81 Rust 2024-09-09 15:50:37 +03:00
dependabot[bot]
a4974e179b
Update GraphiQL from 3.3.1 to 3.3.2 version (#1265)
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>
2024-07-04 13:49:28 +02:00
tyranron
3571fd995f
Fix codegen failure tests 2024-06-19 13:56:22 +02:00
tyranron
02e931b516
Fix codegen failure tests 2024-05-09 11:20:14 +02:00
tyranron
2682ee1418
Make Clippy happy for 1.78 Rust 2024-05-02 18:03:27 +02:00
tyranron
6d65dffd28
Fix codegen failure tests for 1.77.0 Rust 2024-03-22 17:59:31 +02:00
Kai Ren
ec0d7d8097
Rework Book (#1230)
- rework and update existing chapters
- mention correct case transformation for GraphQL enums (#1029)
- document N+1 mitigation techniques and look-ahead features (#234, #444)
- mention all integration crates (#867)
- fix Book links (#679, #974, #1056)
- remove old version of Book (#1168)

Additionally:
- disable `bson`, `url`, `uuid` and `schema-language` Cargo features by default in `juniper` crate

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2024-03-20 15:53:25 +01:00
tyranron
ac6e60987f
Fix codegen failure tests for 1.76.0 Rust 2024-02-09 17:23:01 +02:00
Kai Ren
f363b0d79e
Preserve input body when attribute macro expansion fails (#1245, #1244) 2024-01-30 16:41:11 +01:00
tyranron
57e6c9813c
Fix codegen tests for 1.75.0 Rust 2024-01-02 16:03:49 +01:00
tyranron
a515d4b8b9
Fix codegen tests for 1.74 Rust 2023-11-16 21:14:50 +01: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
tyranron
828d059b1b
Fix codegen tests for latest nightly 2023-10-24 18:23:04 +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
tyranron
20c76a6342
Fix codegen tests for latest nightly 2023-09-07 12:42:10 +03:00
Christian Legnitto
421c8c9d58
Fix codegen tests for latest nightly (#1182) 2023-08-27 14:38:40 +00:00
tyranron
a297b9b67e
Fix codegen tests for latest nightly 2023-07-10 14:13:05 +03:00
tyranron
aff49ae5ec
Fix codegen tests for latest nightly 2023-06-23 14:28:12 +02:00
tyranron
b84621c3b3
Fix codegen tests for latest nightly Rust 2023-02-27 20:33:01 +02:00
tyranron
9ae0c89537
Fix codegen tests for latest nightly Rust 2023-01-20 15:32:07 +02:00
tyranron
dbe1b181db
Fix codegen tests for latest nightly Rust 2022-12-18 12:52:46 +01:00
tyranron
b8a23a1982
Fix codegen tests for latest nightly Rust 2022-10-17 14:24:12 +03:00
tyranron
e9482c3f18
Fix codegen tests for latest nightly Rust 2022-08-29 17:10:40 +03:00
ilslv
c65bc07ff8 Fix codegen/fail assertions for latest nightly 2022-07-28 16:16:14 +03:00
Benno Tielen
bea94398e8
Improve project toolchain (#1084)
- switch from `skeptic` to mdBook native tests
- refactor `juniper_integration_tests` to be granular
- make `cargo test` command fully compatible with stable Rust
- adjust outdated Contribution Guide

Additionally:
- fix codegen tests on latest nightly Rust
2022-07-20 10:37:58 +00:00
tyranron
ef7a7e8229
Upgrade to 2021 Rust edition
- set 1.62 Rust as MSRV
- use new fmt syntax where possible
- refactor `.to_owned()`, `.to_string()` and `.into()` usage
- rename `IntoResolvable::into()` as `IntoResolvable::into_resolvable()` to disambiguate with `Into::into()`
- use `#[derive(Default)]` for enums where possible
- use `bool::then_some()` where possible
2022-07-13 15:20:10 +02:00
tyranron
eb974fe3ac
Make happy latest stable and nightly Rust/Clippy 2022-07-08 16:10:07 +02:00
ilslv
a32140cd46
Update all links to October 2021 spec (#1075, #1000)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 15:32:08 +00:00
ilslv
927e42201a
Rework #[derive(GraphQLInputObject)] macro implementation (#1052)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 11:27:28 +00:00
ilslv
9ca2364bfe
Allow interfaces to implement other interfaces (#1028, #1000) 2022-06-27 12:09:44 +00:00
ilslv
26d9daaadf
Rework #[derive(GraphQLEnum)] macro implementation (#1047) 2022-06-24 21:57:52 +03:00
tyranron
30d80dff12
Fix codegen failure test for latest nightly Rust 2022-04-19 17:22:43 +03:00
Kai Ren
72ed45a77c
Rework CI and project toolchain (#1043)
- remove `cargo-make` integration
- rework CI pipeline more granular and precise
- rework releasing process
- tune up project layout
- fill up new CHANGELOGs

Additionally:
- fix latest nightly/stable Rust inconsistencies
2022-04-08 17:44:50 +03:00