tyranron
a4f4d24677
Fix codegen failure tests on latest nightly Rust
2020-09-10 17:15:51 +03:00
tyranron
0f400c3799
Fmt juniper_actix
crate
2020-09-02 22:52:15 +03:00
Kai Ren
a684e1d91c
Re-enable marks-based static checks in code generated by macros ( #751 )
...
- add associated type to IntoResolvable and IntoFieldResult traits allowing to name the GraphQLType being resolved
- relax Sized requirement on some IsInputType and IsOutputType impls
2020-09-02 22:48:54 +03:00
Caio
2ab00f55d6
Remove unused dependencies ( #747 )
2020-08-28 20:34:11 -10:00
samuela
368ea6f96f
remove unnecessary moves ( #740 )
2020-08-19 19:09:43 -10:00
Mihai Dinculescu
45c16acc6e
Actix subscriptions tests ( #736 )
...
* Actix subscriptions tests
* Use LocalBoxFuture instead of async-trait
* expose-test-schema already includes serde_json
* Add anyhow to juniper dev-dependencies
* The HTTP test helpers are not needed for juniper tests
* juniper_actix does not need tokio in dev-dependencies
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2020-08-18 21:08:53 -10:00
Mihai Dinculescu
633602f000
juniper_rocket_async/ - Change Cookies to CookieJar ( #739 )
2020-08-17 14:32:49 -10:00
Arnaud
fdad97aa08
fix(juniper_graphql_ws): correct null deserialization issue ( #738 )
...
Closes #735
2020-08-14 13:46:23 -10:00
Mihai Dinculescu
8d7ba8295c
Impl subscriptions for juniper_actix ( #716 )
...
* Impl subscriptions for juniper_actix
* Add random_human example subscription
* Add actix_subscriptions example to CI
* fixup! Add random_human example subscription
* Migrate actix subscriptions to juniper_graphql_ws
* Simplify error handling
* Change unwrap to expect
* Close connection on server serialization error
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2020-08-09 12:19:34 -10:00
Dmitry Murzin
bdc8745a56
Fix compilation of juniper_rocket_async: add limit to Data::open() call ( #733 )
2020-08-09 10:46:52 -10:00
Christopher Brown
54e0e208fc
Small typo fix in juniper_warp comment
2020-08-03 16:05:50 -04:00
Chris
6788ef20c8
omit empty error vec in data message serialization ( #732 )
2020-08-01 21:43:10 -10:00
Weslen Nascimento
db209b38c4
Fix broken link in README.md ( #731 )
2020-08-01 13:54:35 -10:00
Chris
84c9720b53
GraphQL-WS crate and Warp subscriptions update ( #721 )
...
* update pre-existing juniper_warp::subscriptions
* initial draft
* finish up, update example
* polish + timing test
* fix pre-existing bug
* rebase updates
* address comments
* add release.toml
* makefile and initial changelog
* add new Cargo.toml to juniper/release.toml
2020-07-28 22:23:44 -10:00
Chris
dc309b83b7
Simplify SubscriptionConnection ( #719 )
...
* simplify SubscriptionConnection
* fmt
* update pre-existing juniper_warp::subscriptions
* use struct instead of tuple
* fmt
* update juniper_warp
2020-07-28 19:14:53 -10:00
Christian Legnitto
59419f1ec4
Remove boxed
in favor of pin
. ( #725 )
2020-07-28 19:10:15 -10:00
Christian Legnitto
c80cecf61e
Rocket can now compile on stable ( #723 )
2020-07-28 16:03:31 -10:00
Chris
7b9cf4cb18
fix for warp content type filter ( #724 )
2020-07-28 16:03:07 -10:00
Christian Legnitto
a5be3a878c
Unbreak integration with latest rocket master ( #722 )
...
This commit changed where `Outcome` is exported:
adc79016cd
2020-07-28 10:00:41 -10:00
Christian Legnitto
fe6d622008
Update percent_encoding ( #715 )
...
Replaces https://github.com/graphql-rust/juniper/pull/702
2020-07-24 17:27:38 -10:00
Christian Legnitto
4647a32b33
Add examples to CI ( #714 )
2020-07-20 21:38:22 -10:00
Jerel Unruh
de8b2af0d7
Add clone() back to request_id to fix compiler error in juniper_warp ( #712 )
...
This is the last item required to close #705
2020-07-20 20:08:45 -10:00
Christian Legnitto
61bc35251f
Fix book tests ( #711 )
2020-07-18 15:24:33 -10:00
Christian Legnitto
de1b332792
Quickstart comments should mention subscriptions.
2020-07-18 13:29:48 -10:00
Christian Legnitto
29930b002b
Update compile fail tests for nightly Rust ( #710 )
...
* Update compile fail tests for latest Rust
The messages appear to have changed on nightly
* Fix tests depending on fixture data
* Fix more integration test paths
* Fix doc warnings
2020-07-18 13:19:50 -10:00
Chris
825a35c686
Fix juniper_warp subscriptions ( #707 )
...
* use anyhow::anyhow for subscriptions mod
* remove unnecessary Clone
* fix simultaneous subscriptions
* rm unnecessary .clone
2020-07-18 11:00:17 -10:00
Chris
f5839c034e
Fix subscriptions with custom scalars ( #706 )
2020-07-17 10:52:16 +03:00
dependabot-preview[bot]
e730f6b336
Update env_logger requirement from 0.5.11 to 0.7.1 ( #701 )
...
Updates the requirements on [env_logger](https://github.com/sebasmagri/env_logger ) to permit the latest version.
- [Release notes](https://github.com/sebasmagri/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebasmagri/env_logger/compare/v0.5.11...v0.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-16 20:06:39 -10:00
dependabot-preview[bot]
0c35033dc4
Update pretty_env_logger requirement from 0.2 to 0.4 ( #700 )
...
Updates the requirements on [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger ) to permit the latest version.
- [Release notes](https://github.com/seanmonstar/pretty-env-logger/releases )
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.2.0...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-16 20:06:08 -10:00
Christian Legnitto
87883876bc
Fix some clippy issues ( #704 )
2020-07-16 07:41:09 -10:00
Christian Legnitto
3c79f6a2c5
Move starwars schema into fixture directory ( #694 )
...
Move starwars query into fixture directory
Also include the graphql schema definition file and a test
to make sure they match.
2020-07-15 21:46:37 -10:00
Christian Legnitto
c4319b6449
Update quickstart.md
2020-07-15 21:24:57 -10:00
Christian Legnitto
5ddd2d499f
Add heading for error handling and point to spec
...
Fixes https://github.com/graphql-rust/juniper/issues/695 .
2020-07-15 21:09:19 -10:00
Christian Legnitto
3616e36ece
Update to latest Rocket on master
( #699 )
...
The `async` branch has now landed on Rocket's `master`. The git
branch has been deleted.
2020-07-14 21:38:09 -10:00
Christian Legnitto
61a5a747f1
Update subscriptions.md
2020-07-14 21:02:30 -10:00
Christian Legnitto
8c3857d772
Update schemas_and_mutations.md
2020-07-14 20:45:42 -10:00
Christian Legnitto
480eda9846
Update schemas_and_mutations.md
2020-07-14 20:41:08 -10:00
Andres Rodriguez
f0ee2094d3
chore(docs): fix typo in complex fields section ( #698 )
2020-07-14 23:03:39 +03:00
Kunjan Dalal
0dcfb850e1
failure removed in favour of thiserror and anyhow ( #696 )
2020-07-10 22:02:32 -10:00
Christian Legnitto
61cb75969e
Move and enable public api integration tests ( #692 )
2020-07-08 16:40:34 -10:00
Christian Legnitto
de3a79a142
Update CHANGELOG.md
2020-07-05 19:54:08 -10:00
Kai Ren
4d77a1a9b9
Strip redundant Send/Sync bounds ( #688 )
...
Additionally:
- strip redundant type parameters for juniper::Context in some core definitions and reuse associated type
2020-06-30 18:13:15 +03:00
Kai Ren
7578175baf
Remove internal versions of proc macros ( #687 )
...
- generate always `::juniper::` crate path in proc macros and use `extern crate self` to make it work inside `juniper`
- add optional non-documented `internal` proc macro argument to proc macros, which allows double-underscored names and is used inside `juniper` only
2020-06-30 12:26:48 +03:00
Kai Ren
35b804c37b
Decouple object safe part from GraphQLType traits ( #685 )
...
- add object safe GraphQLValue, GraphQLValueAsync and GraphQLSubscriptionValue traits containing methods for value resolution
- refactor GraphQLType, GraphQLTypeAsync and GraphQLSubscriptionType traits to register and provide GraphQL type information only
2020-06-30 11:20:21 +03:00
Christian Legnitto
ed6b257e58
Small typo changes to CHANGELOG
2020-06-27 23:52:28 -10:00
Christian Legnitto
c7cc1daed2
Update CHANGELOG.md
2020-06-27 21:41:24 -10:00
Christian Legnitto
03844468f7
Fix minor CHANGELOG typos
2020-06-27 21:38:19 -10:00
Christian Legnitto
54860880d9
Reword changelog
2020-06-27 21:34:54 -10:00
Alexander Lyon
714d602fb9
Update to_camel_case to respect the rust convention of prefixing '_' for unused vars ( #684 )
2020-06-27 20:15:19 -10:00
imspace
37a37d462f
fix: endless poll on an errored ws stream ( #683 )
...
* fix: endless poll on an errored ws stream
2020-06-24 18:23:13 -10:00