Commit graph

1148 commits

Author SHA1 Message Date
tyranron
b381c696ff
Improve and polish codegen for scalars 2022-05-27 18:11:40 +02:00
tyranron
224b04973a
Merge branch 'master' into rework-core-traits 2022-05-27 16:36:16 +02:00
tyranron
4dd5150bcb
Create pr CI job for auto-merging PRs 2022-05-25 17:58:38 +02:00
tyranron
a2ec605732
Merge backported 0.8.2 juniper_rocket 2022-05-25 11:19:04 +02:00
tyranron
e82345243c
Release juniper_rocket 0.8.2 backporting upgrade to rocket 0.5.0-rc.2 2022-05-25 11:11:28 +02:00
tyranron
8ea231f395
Building up codegen for scalars, vol.2 2022-05-19 17:32:43 +02:00
tyranron
21c7a3a653
Bootstrap codegen for scalars 2022-05-17 17:13:25 +02:00
tyranron
5a3bd6c8a9
Pave way to parse ?Sized types from InputValue 2022-05-17 16:59:42 +02:00
tyranron
e381602d5a
Merge branch 'master' into rework-core-traits 2022-05-17 16:00:36 +02:00
50U10FCA7
76b9caf9fa
Fix building juniper crate without default features (#1064, #1065)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-05-17 11:36:46 +03:00
tyranron
912d31f66b
Poking with parsing input 2022-05-12 18:53:19 +03:00
tyranron
ffc42b16a1
Merge branch 'master' into rework-core-traits 2022-05-12 17:28:18 +03:00
tyranron
d6f5cee8b3
Satisfy rust_2018_idioms rustc lint in generated code 2022-05-12 14:33:03 +03:00
tyranron
1f0f683d0b
Upgrade rocket crate to 0.5.0-rc.2 version 2022-05-11 21:37:23 +03:00
tyranron
6b3898b077
Add docs for enum generated by #[graphql_interface] and #[derive(GraphQLInterface)] macros 2022-05-11 20:35:17 +03:00
tyranron
bde5b83eaf
Upd 2022-05-11 19:12:24 +03:00
tyranron
72cd4be715
Merge branch 'master' into rework-core-traits 2022-05-10 17:45:27 +03:00
Wojciech Niedźwiedź
bdaee42156
Provide integration for bigdecimal and rust_decimal crates (#1060, #1059)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-05-05 21:00:58 +03:00
tyranron
64cf7adb4f
Impl basic types, vol.3 2022-05-05 18:35:42 +03:00
tyranron
c8759cd16e
Impl basic types, vol.2 2022-04-25 15:50:28 +03:00
tyranron
2d1e5d38b7
Impl some basic types 2022-04-22 16:48:19 +03:00
tyranron
d00549968c
Merge branch 'master' into rework-core-traits 2022-04-22 11:03:03 +03:00
dependabot[bot]
0d6d6471a2
Upgrade uuid crate to 1.0 version (#1057)
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-04-20 20:21:14 +03:00
tyranron
4ef63e0b7c
Bootstrap, vol.2 2022-04-19 19:04:34 +03:00
tyranron
56a68a9e24
Bootstrap, vol.1 2022-04-19 18:47:42 +03:00
tyranron
30d80dff12
Fix codegen failure test for latest nightly Rust 2022-04-19 17:22:43 +03:00
tyranron
ba1ed85b3c
Relax object safety requirement for GraphQLValue and GraphQLValueAsync traits 2022-04-19 16:33:10 +03:00
tyranron
b94c0ee214
Fix release automation check on CI for cargo-release 0.20.5 2022-04-14 19:07:48 +03:00
Cerber-Ursi
c40d80f26b
Fix expansion of procedural macros inside macro_rules! (#1054, #1051) 2022-04-13 16:15:50 +03:00
tyranron
1a6655e0d7
Fix release automation check on CI for cargo-release 0.20.4 2022-04-13 14:56:56 +03:00
tyranron
7cb602e71b
Disable nasty Windows for juniper_integration_tests on CI 2022-04-13 13:21:05 +03:00
dependabot[bot]
67cb649107
Upgrade iron to 0.6 version for Book tests (#1053)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 17:56:58 +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
ilslv
d0b56f9222
Implement #[derive(GraphQLInterface)] to use structs as GraphQL interfaces (#1026)
- support `#[graphql_interface]` on structs
2022-04-01 21:10:45 +03:00
tyranron
744b808b48
Merge backported 0.8.1 juniper_rocket 2022-03-29 13:37:58 +03:00
tyranron
1cb305cc1a
Backport making request body size Limit configurable in juniper_rocket (#1044)
Co-authored-by: Filip Gospodinov <f@gospodinov.ch>
2022-03-29 13:26:58 +03:00
Filip Gospodinov
1fa69ebcfa
Make request body size Limit configurable in juniper_rocket (#1044) 2022-03-29 13:12:28 +03:00
tyranron
4182a8cf2b
Fix tests for 1.0.90 syn version 2022-03-29 12:28:25 +03:00
dependabot[bot]
032ff3f4a6
Upgrade actix crate to 0.13 version (#1034)
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-03-14 12:46:52 +02:00
ilslv
fec998dce8
Update chrono crate scalars according to graphql-scalars.dev (#1010)
- remove `scalar-naivetime` feature
- disable `chrono` feature by default
2022-03-04 17:53:27 +02:00
ilslv
5bbc73ad89
Redesign #[derive(ScalarValue)] macro to derive ScalarValue on enums (#1025) 2022-03-03 15:49:35 +02:00
dependabot[bot]
4862915e47
Upgrade smartstring crate to 1.0 version (#1030)
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-02-28 12:59:19 +02:00
ilslv
0ebd19af5a
Redesign #[derive(GraphQLScalar)] and #[graphql_scalar] macros (#1017)
- `#[derive(GraphQLScalar)]`:
    - support generic scalars
    - support structs with single named field
    - support for overriding resolvers
- `#[graphql_scalar]`:
    - support `transparent` argument

Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-02-28 11:34:38 +02:00
ilslv
63198cdfcb
Redesign #[graphql_scalar] macro (#1014, #1000)
- support generic scalars
- make it applicable to type aliases and struct/enums/unions
2022-02-24 17:12:17 +02:00
tyranron
3a70403aba
Temporary disable release automation check on CI 2022-02-02 20:25:06 +02:00
tyranron
77d4c90b23
Bump up juniper and juniper_codegen version to 0.16.0-dev to disambiguate release automation on CI 2022-02-02 20:08:41 +02:00
tyranron
47997d2cfb
Switch CI to 0.19.4 cargo-release 2022-02-02 19:52:28 +02:00
tyranron
589acb5a7b
Merge security fixes from 0.15 juniper releases 2022-02-02 19:37:24 +02:00
tyranron
82761736ce
Release juniper_iron 0.7.6 2022-02-02 18:37:23 +02:00
tyranron
6dbb5741c7
Release juniper_hyper 0.7.3 2022-02-02 18:36:00 +02:00