Commit graph

572 commits

Author SHA1 Message Date
David Pedersen
4180019679
Merge pull request #484 from xla/graphql-value-null-example
Add example of how to construct null in graphql_value
2019-12-15 15:42:46 +01:00
Alexander Simmerl
26bfe7652f
Add example of how to construct null in graphql_value 2019-12-15 13:31:24 +01:00
Samuel Hurel
89a5dc2fb9 Add note on complex fields impl block in doc (#483) 2019-12-14 00:29:19 -08:00
David Pedersen
3a6d5e6a46
Merge pull request #481 from cairomassimo/fix-unused-variable-error-message
Small fix/typo: unused variable error message
2019-12-11 18:00:38 +01:00
Massimo Cairo
8f1bf8c661 Fix unused variable error message
Was copied from undefined variable error message.
2019-12-11 17:27:06 +01:00
Jens Krause
93f3dc3d72 Use latest graphiql (v0.17.2) (#477)
incl. upgrade to latest React
2019-12-09 10:36:09 -08:00
Jens Krause
38ee6edb9e Use latest graphql-playground (#476) 2019-12-09 10:34:31 -08:00
James Harton
5d56c9f221 Loosen constraints on uuid version.
The `uuid` maintainers have started releasing in the `0.8` version train.  I've relaxed the version requirements on `juniper`'s dependencies to allow juniper users to specify a different version in their `Cargo.toml` and still have the integration work.
2019-12-01 14:27:41 +01:00
Klaus Purer
5be452075e docs(quickstart): Fix juniper version so the examples work 2019-11-23 17:30:36 +00:00
David Pedersen
1148c75a1d feat: Raw identifier support in object macro
This commit implements raw identifier (`r#name`) support
for field names (methods) and arguments in the `object` proc macro.

Eg:

```rust
impl T {
  fn r#type(r#trait: String) -> bool {}
}
```
2019-11-06 23:08:25 +00:00
Christian Legnitto
91a9752166 Release juniper_warp 0.5.1 2019-10-24 16:03:00 -07:00
Christian Legnitto
7c98eafcbb Release juniper_rocket 0.5.1 2019-10-24 16:01:03 -07:00
Christian Legnitto
0421f9a88e Release juniper_iron 0.6.1 2019-10-24 15:59:31 -07:00
Christian Legnitto
012c0b11de Release juniper_hyper 0.5.1 2019-10-24 15:58:07 -07:00
Christian Legnitto
c434bddc91 Release juniper 0.14.1 2019-10-24 15:57:16 -07:00
Christian Legnitto
252f7b4353 Release juniper_codegen 0.14.1 2019-10-24 15:56:44 -07:00
Christian Legnitto
6b7977b8dd
Update CHANGELOG.md 2019-10-24 15:55:37 -07:00
Christian Legnitto
8628dddaf0 Make EmptyMutation Send 2019-10-24 20:33:48 +02:00
Christian Legnitto
9be274ae77
Update CHANGELOG.md 2019-10-23 21:38:37 -07:00
Andrey Kutejko
dd424f3579 Bubble up scalar error (#434) 2019-10-23 18:04:48 -07:00
Christian Legnitto
61c0543523 Release juniper_warp 0.5.0 2019-09-29 19:11:04 -07:00
Christian Legnitto
2afec7f433 Release juniper_rocket 0.5.0 2019-09-29 19:09:06 -07:00
Christian Legnitto
b208dd5bd6 Release juniper_iron 0.6.0 2019-09-29 19:07:21 -07:00
Christian Legnitto
03fca018a6 Release juniper_hyper 0.5.0 2019-09-29 19:05:37 -07:00
Christian Legnitto
dbbceae643 Release juniper 0.14.0 2019-09-29 19:04:31 -07:00
Christian Legnitto
c4d7661b3b Release juniper_codegen 0.14.0 2019-09-29 19:03:54 -07:00
Christian Legnitto
02fd164e96
Update url dependency (#432) 2019-09-29 18:47:37 -07:00
James Harton
5be66654a9 Improve visitability of lookahead types. (#431)
I've added methods which allow Juniper users to visit all nodes of a lookahead tree so that they can be used for query generation.
2019-09-29 18:00:45 -07:00
nWacky
b61aa900b1 Add subscription support to query parser (#430) 2019-09-29 17:43:56 -07:00
Blaž Hrastnik
dcbb74155d juniper_codegen: Drop regex & lazy_static dependencies (#424)
* Replace regex & lazy_static with a simple check.
2019-09-07 21:19:37 -07:00
Christoph Herzog
835dee1a8e Enable merge_imports rustfmt setting.
style: Enable rustfmt merge_imports and format

This commit enables the rustfmt merge_imports setting
and formats the whole code base accordingly.

Note that the setting is not stable yet, but will be with Rust 1.38.

In the meantime, running fmt on stable will just leave the
changes alone so no problems should occur.
2019-08-21 15:42:16 +02:00
theduke
a3caf126b0 derive: Upgrade syn/quote/proc_macro dependencies to 1.0 (#413) 2019-08-18 09:12:25 -07:00
Christian Legnitto
752584fbbd
Add myself as an author 2019-07-29 08:16:50 -07:00
Christian Legnitto
237febe328 Release juniper_warp 0.4.1 2019-07-29 08:12:47 -07:00
Christian Legnitto
9909b2dc1b Release juniper_rocket 0.4.1 2019-07-29 08:11:42 -07:00
Christian Legnitto
e8da141925 Release juniper_iron 0.5.1 2019-07-29 08:10:37 -07:00
Christian Legnitto
554b3633cf Release juniper_hyper 0.4.1 2019-07-29 08:09:14 -07:00
Christian Legnitto
48c26a26b3 Release juniper 0.13.1 2019-07-29 08:08:05 -07:00
Christian Legnitto
6b32e90899 Release juniper_codegen 0.13.2 2019-07-29 08:07:32 -07:00
Christian Legnitto
644d6042ae Release juniper_codegen 0.13.1 2019-07-29 08:06:22 -07:00
Christian Legnitto
49fc100753
Add #404 to changelog (#406) 2019-07-29 08:57:32 -06:00
Christian Legnitto
82b77594ce Better test name 2019-07-25 03:42:11 +02:00
Christian Legnitto
4016d38d3d Don't assume lookaheads are always fields
Fixes https://github.com/graphql-rust/juniper/issues/398.
2019-07-25 03:42:11 +02:00
Christoph Herzog
55a9a0a2ce (ci) Fix release automation check by pinning cargo-release to older version 2019-07-24 02:37:55 +02:00
Christoph Herzog
049ba0c9dc (codegen) Respect mut modifier on arguments in object proc macro
This commit forwards `mut` declaration of arguments in a #[juniper::object] macro invocation
to the generated code.

Closes #399
2019-07-24 02:37:31 +02:00
Christoph Herzog
9e849fe512 Fix broken doc link.
Closes #400
2019-07-22 21:49:02 +02:00
Christian Legnitto
90886c0fd2 Release juniper_warp 0.4.0 2019-07-19 14:27:08 -07:00
Christian Legnitto
60ba06f846 Release juniper_rocket 0.4.0 2019-07-19 14:01:21 -07:00
Christian Legnitto
8fc1808f14 Release juniper_iron 0.5.0 2019-07-19 14:01:21 -07:00
Christian Legnitto
6d7c72dda6 Release juniper_hyper 0.4.0 2019-07-19 14:01:21 -07:00