Commit Graph

857 Commits

Author SHA1 Message Date
Bryan Burgers
e21f2e6316 Allow vars to be missing when def is nullable
Allow variables to be missing when the associated variable definition is
nullable (in which case we use `null` as the default).

This fixes queries like

```graphql
query Test($var: Int) {
    test(var: $var)
}
```

```json
{}
```

which appear to be allowed according to the GraphQL spec.
2020-06-11 10:00:47 -05:00
Sunli
385bd16d24 Release 1.15.5
async-graphql@1.15.5
async-graphql-derive@1.15.5

Generated by cargo-workspaces
2020-06-11 15:09:59 +08:00
Sunli
6f7a3ea0e4 Add GQLInterface and GQLUnion 2020-06-11 15:08:51 +08:00
Sunli
6ce51bae8a Release 1.15.4
async-graphql@1.15.4
async-graphql-derive@1.15.4

Generated by cargo-workspaces
2020-06-11 11:27:57 +08:00
Sunli
a58d2d71ab Merge branch 'master' of github.com:async-graphql/async-graphql 2020-06-11 11:23:34 +08:00
Sunli
82eefd67fd Add GQLEnum, GQLInputObject, GQLSimpleObject macros. #164
use `proc_macro_derive` to solve the problem that Enum, InputObject, and SimpleObject do not support the #cfg attribute.
2020-06-11 11:23:23 +08:00
Sunli
7d6c9a17ec Release 1.15.3
async-graphql@1.15.3

Generated by cargo-workspaces
2020-06-10 10:21:48 +08:00
Sunli
78c1bd2652 Merge branch 'master' of https://github.com/async-graphql/async-graphql 2020-06-10 10:21:15 +08:00
Sunli
235ff3295d Bump bson to 1.0.0 2020-06-10 10:21:08 +08:00
sunli
a76336ea9a Release 1.15.2
async-graphql@1.15.2

Generated by cargo-workspaces
2020-06-09 21:23:09 +08:00
Coenen Benjamin
a1e5543f9c Update name of scalar DateTime to DateTimeUtc (#166)
* Update name of scalar DateTime to DateTimeUtc
2020-06-09 21:18:23 +08:00
Sunli
4da994084b Release 1.15.1
async-graphql@1.15.1

Generated by cargo-workspaces
2020-06-09 18:45:44 +08:00
Sunli
7b09aaf70b Fix slice support #165 2020-06-09 18:45:22 +08:00
Sunli
7c7e4a7eb1 Release 1.15.0
async-graphql@1.15.0
async-graphql-tide@1.15.0

Generated by cargo-workspaces
2020-06-08 11:19:43 +08:00
Sunli
6544e2ff7a Update async-graphql-tide for tide 0.10.0 2020-06-08 11:18:32 +08:00
Sunli
94055fa84e Merge pull request #163 from mwilliammyers/docs/into_read
Add docs about into_read being blocking
2020-06-08 10:46:13 +08:00
William Myers
422337fd1e Add docs about into_read being blocking
Addresses #151
2020-06-07 20:44:01 -06:00
Sunli
2e2ac056ee Release 1.14.21
async-graphql@1.14.21
async-graphql-derive@1.14.21

Generated by cargo-workspaces
2020-06-08 10:42:11 +08:00
Sunli
885908d152 Merge pull request #162 from mwilliammyers/refactor/check_reserved_name
Remove check_reserved_name
2020-06-08 10:39:55 +08:00
William Myers
44ca95a74f Remove check_reserved_name
This allows types to end in Connection or be named PageInfo.

Addresses #126
2020-06-07 20:30:40 -06:00
sunli
80e4eabce4 Release 1.14.20
async-graphql@1.14.20
async-graphql-derive@1.14.20
async-graphql-warp@1.14.20

Generated by cargo-workspaces
2020-06-07 16:33:17 +08:00
sunli
32210eb64a Fix upload seems broken in the new version. #160 2020-06-07 16:32:05 +08:00
Sunli
26337d18d1 Merge pull request #159 from iancormac84/bson-upgrade
Upgrade bson crate.
2020-06-07 09:15:37 +08:00
iancormac84
9b3c2c9b8a Upgrade bson crate. 2020-06-06 12:38:15 -04:00
Sunli
52996501ad Fix Subscription panics when unsubscribing from exhausted stream #157 2020-06-06 19:58:36 +08:00
Sunli
1c1c50cef0 Rustfmt 2020-06-06 15:48:21 +08:00
Sunli
ed7b181034 Rustfmt 2020-06-06 12:41:17 +08:00
Sunli
d20f4ad8d8 Update Cargo.toml 2020-06-06 12:17:20 +08:00
Sunli
5f9e68d349 Update subscription.rs 2020-06-06 12:06:09 +08:00
Sunli
df711b85f1 Release 1.14.19
async-graphql@1.14.19
async-graphql-derive@1.14.19

Generated by cargo-workspaces
2020-06-06 11:49:56 +08:00
Sunli
edec696610 Add tests for feature attribute 2020-06-06 11:49:29 +08:00
Sunli
68fbeb09c6 Release 1.14.18
async-graphql@1.14.18

Generated by cargo-workspaces
2020-06-06 10:30:32 +08:00
Sunli
4a28518e33 Update playground_source.rs 2020-06-06 10:30:14 +08:00
Sunli
b497a57d2a Release 1.14.17
async-graphql@1.14.17

Generated by cargo-workspaces
2020-06-06 10:10:28 +08:00
Sunli
1820e1b723 Clippy cleanup 2020-06-06 10:10:10 +08:00
Sunli
ef7fa84deb Release 1.14.16
async-graphql@1.14.16
async-graphql-derive@1.14.16

Generated by cargo-workspaces
2020-06-06 09:58:43 +08:00
Roman Useinov
3889f219cd Add the ability to specify full config for GraphQLPlayground (#155)
* add the ability to specify full config for GraphQLPlayground
2020-06-06 09:55:53 +08:00
Sunli
ad4d3fc732 Merge pull request #156 from bnjjj/patch-1
Update FnMut to FnOnce for query closure
2020-06-06 09:54:13 +08:00
Coenen Benjamin
437a677948 Update FnMut to FnOnce for query closure 2020-06-06 02:00:21 +02:00
Sunli
3ca2dada0a Rustfmt and Clippy 2020-06-05 21:42:24 +08:00
Sunli
b31ac79123 add feature attribute to field attribute inside SimpleObject 2020-06-05 21:17:15 +08:00
Coenen Benjamin
1084c44535 add feature attribute to field attribute inside Object (#153)
* add feature support in field attribute
2020-06-05 21:06:53 +08:00
Sunli
2ca0ba02cc Release 1.14.15
async-graphql@1.14.15

Generated by cargo-workspaces
2020-06-05 15:44:01 +08:00
Sunli
13e31ac9b1 Add QueryBuilder::extension function. #87 2020-06-05 15:42:29 +08:00
Sunli
464d533d9f Release 1.14.14
async-graphql@1.14.14
async-graphql-actix-web@1.14.14
async-graphql-warp@1.14.14

Generated by cargo-workspaces
2020-06-05 13:38:21 +08:00
Sunli
9bda573e28 Clippy cleanup 2020-06-05 12:44:48 +08:00
Sunli
37943fa30a Fix relay @defer requires a label in the second chunk. #146 2020-06-05 12:20:23 +08:00
Sunli
0949a022a0 Update README.md 2020-06-03 19:33:32 +08:00
Sunli
0ecff0f73f Add GET request support for async-graphql-warp 2020-06-03 19:06:00 +08:00
Sunli
e7eb9cca7f Add GET request support for async-graphql-actix-web 2020-06-03 17:25:10 +08:00