Commit graph

288 commits

Author SHA1 Message Date
nWacky
99c0d26887
Comment out attr_arg_descr and attr_arg_descr_collapse tests 2019-11-05 12:06:08 +03:00
nWacky
7135c07ae5
Format 2019-11-05 11:20:08 +03:00
nWacky
9506272b82
Merge import in async_await 2019-11-05 11:20:07 +03:00
nWacky
554ba34df1
Format 2019-11-05 11:20:07 +03:00
nWacky
dbcaf30ec3
Rebase onto master 2019-11-05 11:20:06 +03:00
nWacky
e3c12e31fc
Format 2019-11-05 11:14:53 +03:00
nWacky
b1970aecd2
Remove useless todo 2019-11-05 11:14:20 +03:00
nWacky
52c3e281f3
Refactor GraphQLTypeAsync to use async-trait 2019-11-05 11:14:20 +03:00
nWacky
820f472f2c
Add resolve_into_type_async 2019-11-05 11:14:19 +03:00
nWacky
e03e525645
Start adding async-trait to GraphQLTypeAsync 2019-11-05 11:14:19 +03:00
nWacky
bfe6c7ae97
Remove __juniper_extract_generic macro 2019-11-05 11:14:18 +03:00
nWacky
d22b5c68f3
Resolve RFC 2565 related todos 2019-11-05 11:14:18 +03:00
Christian Legnitto
191468bf04
Release juniper 0.14.1 2019-11-05 11:14:16 +03:00
Christian Legnitto
7b18bd245d
Release juniper_codegen 0.14.1 2019-11-05 11:14:15 +03:00
Christian Legnitto
bb99076326
Update CHANGELOG.md 2019-11-05 11:14:15 +03:00
Christian Legnitto
665c3d2eb6
Make EmptyMutation Send 2019-11-05 11:14:15 +03:00
Christian Legnitto
7230efc3b9
Update CHANGELOG.md 2019-11-05 11:14:14 +03:00
Andrey Kutejko
779208eea5
Bubble up scalar error () 2019-11-05 11:14:14 +03:00
nWacky
3e5e2aeeb7
Format 2019-11-04 19:13:06 +03:00
nWacky
e2ebaeec3a
Merge import in async_await 2019-11-04 19:11:12 +03:00
nWacky
503bb6357f
Format 2019-11-04 19:07:25 +03:00
nWacky
09d1077735
Merge branch 'async-await-resolve-some-todos' of https://github.com/instrumentisto/juniper into async-await-resolve-some-todos 2019-11-04 18:53:42 +03:00
nWacky
2404b81008
Rebase onto master 2019-11-04 18:52:26 +03:00
nWacky
afd92cd7fe
Format 2019-11-04 16:55:36 +03:00
nWacky
9478b6c590
Remove useless todo 2019-11-04 11:40:52 +03:00
Christian Legnitto
34c380b7af cargo fmt 2019-11-03 22:23:46 -08:00
Christian Legnitto
cdf9fb333d Re-enable introspection tests.
These were fixed by previous commits.
2019-11-03 22:23:07 -08:00
Christian Legnitto
ef2277c80f Update delay to latest tokio usage 2019-11-03 22:08:33 -08:00
Christian Legnitto
560a172587 Make resolvers with returns work again
Note that this only fixes the non-async case
2019-11-03 22:07:40 -08:00
nWacky
9e2a63ab81
Refactor GraphQLTypeAsync to use async-trait 2019-11-01 19:37:55 +03:00
nWacky
737c4c7184
Add resolve_into_type_async 2019-11-01 17:51:25 +03:00
nWacky
13bbbe254b
Start adding async-trait to GraphQLTypeAsync 2019-11-01 14:26:08 +03:00
nWacky
0f4e9982c5
Remove __juniper_extract_generic macro 2019-11-01 13:43:01 +03:00
nWacky
bd3d289d59
Resolve RFC 2565 related todos 2019-11-01 13:29:11 +03:00
Christoph Herzog
ee9a82a817 Refacto graphql_union! macro to proc macro 2019-10-28 21:51:29 +01: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 () 2019-10-23 18:04:48 -07:00
tyranron
e2903cf0f7
Fix type inferring for trivial resolver code
Additionally:
- fix inconsistencies after merge with master
2019-10-10 14:50:10 +02:00
tyranron
635bf1ff34
Merge branch 'async-await' into remove-async-closure-feature
# Conflicts:
#	examples/warp_async/src/main.rs
#	integration_tests/async_await/src/main.rs
#	juniper/src/lib.rs
#	juniper_benchmarks/src/lib.rs
#	juniper_rocket/src/lib.rs
#	juniper_warp/src/lib.rs
2019-10-10 13:20:00 +02:00
Christian Legnitto
2884ef313b
Merge branch 'async-await' into async-await-rebase 2019-10-09 22:43:07 -07:00
Kai Ren
8d33e8db12 Upgrade futures-preview, tokio crates and remove unnecessary 'async_await' feature () 2019-10-09 22:22:13 -07:00
Christian Legnitto
045c1870ef Replace futures::future::FutureExt::boxed with Box::pin 2019-10-09 22:22:13 -07:00
Christoph Herzog
c270c038ef 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-10-09 22:22:13 -07:00
Graeme Coupar
67480d176b Fix juniper issue 2019-10-09 22:22:13 -07:00
Christoph Herzog
4a4d7407aa Use Custom BoxFuture type + prepare new resolve result value 2019-10-09 22:22:13 -07:00
Christoph Herzog
c113ef6171 Experimental benchmarks 2019-10-09 22:22:13 -07:00