tyranron
464ff10c14
Impl input objects, vol.1 [skip ci]
2022-08-10 19:10:38 +03:00
tyranron
d8813aff13
Merge branch master
into rework-core-traits [skip ci]
2022-08-10 18:08:22 +03:00
tyranron
faf1f57200
Merge juniper
0.15.10 backports
2022-07-28 17:21:12 +03:00
tyranron
6fd7a591cf
Release juniper
0.15.10
2022-07-28 17:12:27 +03:00
tyranron
8d28cdba6e
Backport CVE-2022-31173 fix from GHSA-4rx6-g5vg-5f3j
...
Co-authored-by: ilslv <ilya.solovyiov@gmail.com>
2022-07-28 17:07:55 +03:00
ilslv
c65bc07ff8
Fix codegen/fail
assertions for latest nightly
2022-07-28 16:16:14 +03:00
ilslv
c843471d37
Fix NoUnusedFragments
validation rule
2022-07-28 15:44:29 +03:00
ilslv
2b609ee057
Merge pull request from GHSA-4rx6-g5vg-5f3j
...
* Replace recursions with heap allocations
* Some corrections [skip ci]
* Add recursive nested fragments test case
* Docs and small corrections
* Corrections
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-07-28 14:33:16 +03:00
dependabot[bot]
6d6c71fc3b
Upgrade actix-test
crate to 0.1 version ( #1089 )
...
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>
2022-07-26 10:22:39 +00:00
tyranron
b32c54eeaa
Mention #113 in CHANGELOG
2022-07-26 11:42:44 +03:00
tyranron
8dd97587b9
Merge juniper
0.15.10-dev backports
2022-07-22 10:13:59 +02:00
tyranron
c650713997
Backport accepting explicit null
argument for null
able list input parameter ( #1086 , #1085 )
2022-07-22 10:12:42 +02:00
ajawalker
98412a937e
Accept explicit null
argument for null
able list input parameter ( #1086 , #1085 )
2022-07-21 16:49:45 +00: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
dependabot[bot]
9e87a11071
Upgrade actix-identity
crate to 0.5 version ( #1082 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 17:17:03 +00:00
tyranron
576d6fb6dd
Finish refactoring juniper_codegen
crate
2022-07-11 17:06:05 +02:00
ilslv
0c8bcf582f
Fix input value coercion with defaults ( #1080 , #1073 )
2022-07-08 21:55:51 +00:00
Benno Tielen
5332db0a4b
Strip lifetime parameter from ParseError
( #1081 , #528 )
...
- replace `Token` with its string representation in `ParseError`
- strip lifetime parameter from `GraphQLError`, `GraphQLResponse` and `GraphQLBatchResponse`
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-07-08 18:21:23 +00: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
tyranron
fa03c7fa4d
Impl graphql::Enum
trait for enums [skip ci]
2022-06-27 17:05:01 +02:00
tyranron
4257e72c75
Impl resolve::Type
trait for enums
2022-06-27 16:57:54 +02:00
tyranron
98b282d06d
Impl resolve::InputValue
trait for enums
2022-06-27 16:17:50 +02:00
tyranron
7364187437
Impl resolve::Value
and resolve::ToInputValue
traits for enums [skip ci]
2022-06-27 15:58:20 +02:00
tyranron
48631e9b25
Impl reflect
traits for enums
2022-06-27 15:14:05 +02:00
tyranron
505e25cea2
Temporary disable new reflection for fields as it requires all leaf types implement
2022-06-27 14:53:49 +02:00
tyranron
2e2d365d64
Merge branch master
into rework-core-traits
[skip ci]
2022-06-27 14:42:43 +02:00
ilslv
9ca2364bfe
Allow interfaces to implement other interfaces ( #1028 , #1000 )
2022-06-27 12:09:44 +00:00
tyranron
bd041222df
Remove redundant commit message checks for skipping CI pipeline
2022-06-27 11:41:57 +02:00
ilslv
26d9daaadf
Rework #[derive(GraphQLEnum)]
macro implementation ( #1047 )
2022-06-24 21:57:52 +03:00
tyranron
1819ab6e12
Impl reflect
traits for objects and interfaces fields, vol.1 [skip ci]
2022-06-23 18:37:14 +02:00
tyranron
23e01956b3
Impl reflect
traits for objects and interfaces [skip ci]
2022-06-23 17:42:55 +02:00
tyranron
42e2780142
Fix tests
2022-06-23 16:41:16 +02:00
tyranron
07ed785a51
Move tests for containers [skip ci]
2022-06-21 18:10:33 +02:00
tyranron
3cfc4eb0e4
Impl new machinery for Cow
[skip ci]
2022-06-21 17:49:35 +02:00
tyranron
4a6b3abfc6
Impl new machinery for slice [skip ci]
2022-06-21 16:15:21 +02:00
tyranron
17af7c5ac5
Impl new machinery for array
2022-06-21 15:25:06 +02:00
tyranron
d648181b26
Fix reflect
impls for Result
2022-06-21 14:50:16 +02:00
tyranron
2d89de3403
Impl new machinery for Vec
[skip ci]
2022-06-20 19:12:58 +02:00
tyranron
66c11ec782
Impl macro for scalars, vol.6 [skip ci]
2022-06-20 17:41:45 +02:00
tyranron
4d7770d226
Impl macro for scalars, vol.5 [skip ci]
2022-06-19 23:06:59 +02:00
tyranron
1aafd3da5d
Impl macro for scalars, vol.4 [skip ci]
2022-06-19 22:18:50 +02:00
tyranron
679c1c1162
Impl macro for scalars, vol.3 [skip ci]
2022-06-17 23:53:18 +02:00
tyranron
a05a0091f6
Impl macro for scalars, vol.2 [skip ci]
2022-06-17 21:30:30 +02:00
tyranron
f2718cc01a
Impl macro for scalars, vol.1 [skip ci]
2022-06-17 18:24:02 +02:00
tyranron
25404eb4a7
Rework meta creation [skip ci]
2022-06-17 16:04:48 +02:00
tyranron
067b1e532a
Re-implement str
, vol.2 [skip ci]
2022-06-13 18:12:44 +02:00
tyranron
88046e3ce4
Re-implement str
, vol.1 [skip ci]
2022-06-09 18:10:33 +02:00