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
Christian Legnitto
a08ce0760d
Add note about i64/u64 to the book
...
Fixes https://github.com/graphql-rust/juniper/issues/671
2020-06-23 22:41:09 -10:00
tyranron
563270d975
Fix 'juniper_rocket_async' crate up to latest upstream changes
2020-06-23 14:17:27 +03:00
tyranron
5b4f6fca39
Fix formatting of 'juniper_subscriptions' crate
2020-06-23 13:38:30 +03:00
tyranron
3cd4cbb0b8
Fix lifetime mismatch in 'juniper_subscriptions' crate
2020-06-23 13:31:33 +03:00
Joao Neves
f19d498254
Upgrade reqwest
to 0.10 version and use rustls
to remove transitive OpenSSL ( #677 )
...
- revive `warp_async` example (#659 )
Co-authored-by: Allan Calix <contact@allancalix.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2020-06-14 16:29:08 +03:00
Chris
6dd6abbadc
Fix custom ScalarValue usage for unions ( #681 )
...
- make GraphQLUnion trait generic over ScalarValue
- generate generic over ScalarValue impls of GraphQLUnion trait
- add codegen tests with a custom ScalarValue for union macros
2020-06-14 14:12:53 +03:00
Kai Ren
5b9c6111f1
Relax redundant 'static lifetime bounds on ScalarValue in juniper_subscriptions::Coordinator ( #680 )
2020-06-10 21:27:58 -10:00
Nathan Wilson
7365b0fdd8
Upgrade bson crate to 1.0 ( #678 )
2020-06-10 12:34:56 +03:00
tyranron
5b7706e839
Fix codegen failure tests for the latest nightly Rust
2020-06-10 11:36:36 +03:00
Christian Legnitto
9167654a73
Add support for GraphQL Schema Language ( #676 )
...
Co-authored-by: Alexander Lyon <arlyon@me.com>
2020-06-05 17:43:11 -10:00