Christoph Herzog
36c71d7162
chore: Remove ScalarRefValue trait
...
The trait was introduced while introducing generic scalars, but is not
actually required or useful. It's functionality is fully covered by
methods on the `ScalarValue` trait.
It also forced a lof of for<'a> ScalarRefValue bounds all over the code,
complicating signatures a lot.
It is completely removed now.
2019-11-14 01:21:41 +01:00
nWacky
eb85fefc36
Get back panic in macro [skip ci]
2019-11-13 14:26:25 +00:00
nWacky
2144ad0d7d
Remove async-trait
[skip ci]
2019-11-13 14:26:25 +00:00
nWacky
a5580a939d
Update most crates to futures 0.3, add todos on not updated crates
2019-11-12 12:04:09 +00:00
nWacky
cf99495368
Replace all futures::BoxFuture
with juniper::BoxFuture
2019-11-12 12:04:09 +00:00
nWacky
237e69c036
Rebase async_await
onto master ( #454 )
...
* 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 {}
}
```
* Rebase onto master
* Fix merge [skip ci]
2019-11-08 09:46:48 +00:00
Christian Legnitto
b133a0f3c2
Merge pull request #452 from instrumentisto/async-await-resolve-some-todos
...
Resolve some todos in async-await branch
2019-11-06 18:17:50 -08: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
nWacky
778606c050
Fix bad merge [skip ci]
2019-11-06 12:01:50 +03:00
nWacky
e344f1c06f
Merge branch 'async-await-resolve-some-todos' of https://github.com/instrumentisto/juniper into async-await-resolve-some-todos
...
# Conflicts:
# juniper/src/macros/tests/args.rs
[skip ci]
2019-11-06 11:46:21 +03:00
nWacky
09d9513da9
Rebase onto master
2019-11-06 11:45:19 +03:00
nWacky
4834349310
Rebase onto async-await
2019-11-06 11:21:06 +03:00
nWacky
e151026cfa
Merge branch 'async-await-resolve-some-todos' of https://github.com/instrumentisto/juniper into async-await-resolve-some-todos
...
# Conflicts:
# examples/warp_async/Cargo.toml
# juniper/src/macros/tests/args.rs
# juniper_codegen/src/util.rs
[skip ci]
2019-11-05 12:10:04 +03:00
nWacky
99c0d26887
Comment out attr_arg_descr
and attr_arg_descr_collapse
tests
2019-11-05 12:06:08 +03:00
nWacky
ec76bf5ff2
Fix cargo.toml in warp_async
2019-11-05 11:20: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
00dd1dc391
Resolve better error message with field/type name todo, update other panics with query name
2019-11-05 11:14:20 +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
c24687d8bc
Release juniper_warp 0.5.1
2019-11-05 11:14:17 +03:00
Christian Legnitto
c298697619
Release juniper_rocket 0.5.1
2019-11-05 11:14:17 +03:00
Christian Legnitto
bf888261cd
Release juniper_iron 0.6.1
2019-11-05 11:14:17 +03:00
Christian Legnitto
fed6950498
Release juniper_hyper 0.5.1
2019-11-05 11:14:16 +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 ( #434 )
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
91dc55bcbb
Resolve better error message with field/type name todo, update other panics with query name
2019-11-04 16:42:32 +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
0929bad163
Fix non-async resolvers with returns in the async case
2019-11-03 22:14:44 -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