Commit graph

1031 commits

Author SHA1 Message Date
Christian Legnitto
93deb2862a
Make juniper_rocket_async replace juniper_rocket (#955)
* Make juniper_rocket_async replace juniper_rocket

Now that rocket v0.5 is async and in rc, merge the two juniper projects.

Fixes https://github.com/graphql-rust/juniper/issues/947.

* Remove println
2021-07-07 09:26:22 -07:00
Christian Legnitto
bb55ad11cc
Update book.yml 2021-07-06 17:05:03 -07:00
Christian Legnitto
d8fb1da0a2
Update README.md 2021-07-06 16:33:30 -07:00
Christian Legnitto
1aa68ee440
Update CHANGELOG.md 2021-07-06 16:25:39 -07:00
Christian Legnitto
1146a01331
Use actix betas to allow publishing on crates.io (#954) 2021-07-06 16:23:41 -07:00
Jordão Rodrigues Oliveira Rosario
6ada6b09a9
Actix v4.0.0-beta.8 support (#952) 2021-07-06 15:41:42 -07:00
Jordão Rodrigues Oliveira Rosario
739cc3bfc2
Upgraded tokio, warp, hyper and actix (#912)
* Upgraded tokio, warp, hyper and actix

* Code formatting

* actix-web temporary version fix specification

* Error handling fix on juniper_rocket

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-06-28 20:22:45 -10:00
Filip Gospodinov
de4c0e9088
juniper_codegen: macro hygiene for graphql_subscription (#948)
Fully qualify `std::result::Result` such that it doesn't
collide with locally defined type aliases for `Result`.
This improves macro hygiene.
2021-06-26 13:15:41 -10:00
Idan Mintz
d4fda786ba
Fixes panic when spreading untyped union fragment. (#946)
* Fixes panic when spreading untyped union fragment.

closes #945

* Fix ci breakage with explicit lifetime annotation in juniper_rocket_async
2021-06-14 00:52:41 -07:00
Filip Gospodinov
2241da7901
juniper_rocket_async: bump to 0.5.0-rc.1 (#944) 2021-06-13 18:59:34 -10:00
Christian Legnitto
ae199387fc Release juniper_actix 0.2.5 2021-06-07 19:43:43 -07:00
Christian Legnitto
261dc205d0 Release juniper_warp 0.6.4 2021-06-07 19:42:28 -07:00
Christian Legnitto
831211911b Release juniper_graphql_ws 0.2.5 2021-06-07 19:41:31 -07:00
Christian Legnitto
da85f01115 Release juniper_subscriptions 0.15.5 2021-06-07 19:40:35 -07:00
Christian Legnitto
5a8d4c053c Release juniper_rocket 0.7.1 2021-06-07 18:40:25 -07:00
Christian Legnitto
44f086b268 Release juniper_iron 0.7.4 2021-06-07 18:33:50 -07:00
Christian Legnitto
9f3fc0c83a Release juniper_hyper 0.7.1 2021-06-07 18:24:23 -07:00
Christian Legnitto
5dee177fb1 Release juniper 0.15.6 2021-06-07 18:23:16 -07:00
Christian Legnitto
3d57c8316d Release juniper_codegen 0.15.6 2021-06-07 18:22:09 -07:00
Christian Legnitto
d286ec781e Release juniper_rocket 0.7.0 2021-06-07 18:15:04 -07:00
Christian Legnitto
84a07c4a93
Re-record fixtures for latest nightly error messages (#941) 2021-06-06 15:57:14 -07:00
Sujay Jayakar
777b0d4349
Don't require () TypeInfo for schema language methods (#935)
* Don't require `()` TypeInfo for schema language methods

* Add PR to CHANGELOG.md

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-06-06 15:35:23 -07:00
Christian Legnitto
2cb026fe53
Support latest rocket 0.4 (#940)
There was a regression:

https://github.com/SergioBenitez/Rocket/issues/1647

Fixes https://github.com/graphql-rust/juniper/issues/939.
2021-06-06 15:27:24 -07:00
ihor-rud
d3896bd33c
Fix using graphql_scalar proc macro inside a macro (#933) 2021-06-06 15:05:53 -07:00
dependabot-preview[bot]
92ad8b46ff
Upgrade to GitHub-native Dependabot (#924)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-05-21 06:53:06 -07:00
tyranron
9c9639e8f0
Support latest Rocket master 2021-05-11 18:04:31 +03:00
tyranron
e998457c0e
Release juniper 0.15.5 2021-05-11 17:38:32 +03:00
tyranron
c3a04d7d22
Release juniper_codegen 0.15.5 2021-05-11 17:08:34 +03:00
xDarksome
f04434416b
Fix subscription error extensions (#927) 2021-05-11 10:43:52 +03:00
xDarksome
35b6643bad
Fix internal representation of object fields (#872, #926) 2021-05-10 14:36:38 +03:00
tyranron
70bc9c4512
Make Clippy almost happy on latest Rust 2021-05-10 12:18:31 +03:00
ArsileLuci
dc99ae70b8
Fix fields on interface not being resolved when used with fragments (#923, #922) 2021-04-30 15:13:54 +03:00
tyranron
106e322f68
Catch up codegen failure tests with latest nightly Rust 2021-04-29 14:06:32 +03:00
Filip Gospodinov
9dfd57198d
Eliminate tokio dependency in juniper_rocket_async (#920)
The `tokio` dependency is only required for tests and should
have been in the `dev-dependencies` section in `Cargo.toml`.

Since `rocket` already ships with a async test annotation
`tokio` can be removed completely.
2021-04-19 07:54:21 -10:00
Christian Legnitto
9576c25fe7
Fix markdown in changelog 2021-04-18 22:14:50 -10:00
Christian Legnitto
0e41a51789
Support latest Rocket master (#919) 2021-04-18 12:57:59 -10:00
Tilman Roeder
5ae930bfc7
Fixes Issue 914 (#915)
* Add failing tests

* Fix failing test

* cargo fmt
2021-04-17 13:29:08 -10:00
Christian Legnitto
5225b9e06c Release juniper_hyper 0.7.0 2021-04-03 15:54:19 -10:00
Christian Legnitto
178dc6cf94
Update CHANGELOG.md 2021-04-03 15:52:53 -10:00
Christian Legnitto
6dc939febb Release juniper_actix 0.2.4 2021-04-03 15:43:50 -10:00
Christian Legnitto
c003c8149d Release juniper_warp 0.6.3 2021-04-03 15:42:33 -10:00
Christian Legnitto
a85315e5fb Release juniper_graphql_ws 0.2.4 2021-04-03 15:41:32 -10:00
Christian Legnitto
728b1b598d Release juniper_subscriptions 0.15.4 2021-04-03 15:40:30 -10:00
Christian Legnitto
3336fa90a2 Release juniper_rocket 0.6.3 2021-04-03 15:39:08 -10:00
Christian Legnitto
3e0841be6a Release juniper_iron 0.7.3 2021-04-03 15:37:55 -10:00
Christian Legnitto
97d8b70ea0 Release juniper 0.15.4 2021-04-03 15:36:50 -10:00
Christian Legnitto
1815d23194 Release juniper_codegen 0.15.4 2021-04-03 15:35:33 -10:00
Christian Legnitto
ed3bb68329
Add min so newer cargo-release doesn't fail (#909) 2021-04-03 15:13:25 -10:00
Jerel Unruh
c78045c167
Make the executor and validation APIs public to enable split parsing and execution (#874)
* Make the executor and validation APIs public to enable splitting parsing and execution into two stages

Based on https://github.com/graphql-rust/juniper/pull/773#issuecomment-703783048 and https://github.com/graphql-rust/juniper/pull/773#issuecomment-704009918

* Fix fmt warning for visit_all_rules

* Add `Definition` to the public API so it's available for the result of compilation

* Make OperationType public so that user land code can tell the difference between query/mutation and subscription

* Add integrations tests for execute_validated_query_async, visit_all_rules, get_operation, and resolve_validated_subscription

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-04-02 19:13:06 -10:00
Tilman Roeder
e7f7e7bff3
Fragment spreads in Interface types (#907)
* Add failing test

* Fix fragment spread on interface

* Cargo fmt

* Add test and fix for sync version

* Cargo fmt
2021-04-02 09:34:52 -10:00