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
Christian Legnitto
54f98f46db
Release juniper 0.13.0
2019-07-19 14:01:21 -07:00
Christian Legnitto
efe22b7ffd
Release juniper_codegen 0.13.0
2019-07-19 14:01:21 -07:00
David Pedersen
f2fd945559
Mention juniper-from-schema in README ( #395 )
2019-07-19 13:19:42 -07:00
Christian Legnitto
5065eb2265
Fix lookahead when query contains multiple fields ( #393 )
...
Fixes https://github.com/graphql-rust/juniper/issues/371 .
2019-07-17 18:57:14 -07:00
Christian Legnitto
7bedea05ed
Clean up test warnings ( #392 )
2019-07-15 21:47:16 -07:00
Y0hy0h
85fec1ca94
Improve quality of Gitter badge in README
2019-07-09 14:29:49 +02:00
Peter Majchrak
28ca8fe006
Cleanup after #385 ( #386 )
2019-06-27 15:32:36 -07:00
Peter Majchrak
3373935046
Add support for "dyn" trait object syntax ( #385 )
...
* Use "dyn" for TraitObjects
* Cleanup after adding "dyn" support
* Add entry to CHANGELOG.md
2019-06-27 08:44:30 -07:00
Christoph Herzog
97e1005178
Clean up ScalarValue transparent derive argument handling and documentation.
2019-06-25 18:55:45 +02:00
theduke
7e0e7beaa7
Allow scalars without #[repr(transparent)]
2019-06-25 18:55:45 +02:00
Christoph Herzog
3396074274
(codegen) Implement newtype derive for scalars.
...
This commit implements a newtype style custom derive
for scalars via `#[derive(GraphQLScalarValue)]`, which now
supports both deriving a base enum scalar type and newtypes.
For newtypes, the `#[graphql(transparent)]` attribute is
required.
This commit:
* implements the derive
* adds integration tests
* updates the book
2019-06-25 18:55:45 +02:00
Christoph Herzog
a84dbf710d
(ci) Fix cargo path in check_release_automation task
2019-06-25 17:40:37 +02:00
Christoph Herzog
522a38b0b1
(ci) Specify CARGO_HOME env var to ensure conformity
2019-06-25 17:40:37 +02:00
Christian Legnitto
6f051f9fcd
(ci) Fix CI builds
...
* Update cargo-make
* Quote path on windows
2019-06-25 17:40:37 +02:00
jekshmek
675f34bc46
Fix test_invalid_field juniper::http ( #380 )
2019-06-24 23:08:36 -07:00
Kai Ren
49f723a3dd
Optimize .unwrap_or() and .expect() usages ( #374 )
2019-06-18 23:12:13 -04:00
Christian Legnitto
4d9ec64eae
Make .cargo/bin
if it does not exist ( #375 )
2019-06-18 23:10:55 -04:00
Clayton Ray
c2f119690b
fix(docs): correct warp example link in book ( #367 )
...
This fix adds the correct link for the Warp Server example.
2019-05-25 18:56:35 -07:00
Jean Mertz
3456786463
Implement Serialize/Deserialize for ID scalar
...
As per the unofficial Rust API guidelines:
https://rust-lang-nursery.github.io/api-guidelines/interoperability.html#data-structures-implement-serdes-serialize-deserialize-c-serde
2019-05-23 15:49:15 +02:00
Andrey Kutejko
5b9a0bd31b
Split Query and Database types in example schema ( #360 )
2019-05-18 09:07:51 -07:00
Andrey Kutejko
c93911958a
Improve contribution guide
2019-05-18 14:20:44 +02:00
Christoph Herzog
74522b015e
(book) Update the graphql_scalar! example to be generic
...
This is now basically a requirement due to GraphQLObject derive
being generic.
2019-05-17 19:26:01 +02:00
Christian Legnitto
43fcc63c23
Update RELEASING.md
2019-05-16 19:22:20 -07:00
Christian Legnitto
4eea56351b
Release juniper_warp 0.3.0
2019-05-16 19:14:16 -07:00
Christian Legnitto
81a2c2bd90
Release juniper_rocket 0.3.0
2019-05-16 19:11:10 -07:00
Christian Legnitto
bd2da308e3
Release juniper_iron 0.4.0
2019-05-16 19:09:12 -07:00
Christian Legnitto
d1b5c1bb4d
Release juniper_hyper 0.3.0
2019-05-16 19:05:32 -07:00
Christian Legnitto
9c9e3da72d
Release juniper 0.12.0
2019-05-16 19:03:21 -07:00
Christian Legnitto
8a047e8702
Release juniper_codegen 0.12.0
2019-05-16 19:01:52 -07:00
Christoph Herzog
50a5f2a258
(ci) Re-enable juniper_hyper testing on nightly.
2019-05-16 23:38:54 +02:00
theduke
d47aa990ba
Remove GraphQLType impl for unit () type ( #355 )
...
This impl can cause weird runtime errors and serves
no real practical purpose.
Removing the impl is a breaking change but is the only
way to error out at runtime.
2019-05-16 07:22:13 -07:00
theduke
2aaf8dd729
Add CONTRIBUTING.md guide ( #356 )
2019-05-16 07:21:13 -07:00
Christoph Herzog
cff6036206
(book) Add ::object macro field and argument customization info
2019-05-16 14:08:19 +02:00
David Pedersen
2518eff0c9
Expose the operation name from juniper_rocket::GraphQLRequest
( #353 )
...
Measuring the runtime of queries will only tell if there are slow
queries. To find out which queries are slow you need the operation name.
Getting the operation name was previously not possible from a Rocket
request handler. This fixes that.
2019-05-15 07:26:40 -07:00