Commit Graph

757 Commits

Author SHA1 Message Date
Bryan Burgers
81c7683e4d 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
2e9557ff1c 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
538b7e0646 Add GQLInterface and GQLUnion 2020-06-11 15:08:51 +08:00
Sunli
5cf034a7c1 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
9281fcbb5a Merge branch 'master' of github.com:async-graphql/async-graphql 2020-06-11 11:23:34 +08:00
Sunli
b605846822 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
de6cb331db Release 1.15.3
async-graphql@1.15.3

Generated by cargo-workspaces
2020-06-10 10:21:48 +08:00
Sunli
2877e13043 Merge branch 'master' of https://github.com/async-graphql/async-graphql 2020-06-10 10:21:15 +08:00
Sunli
37d6a97d22 Bump bson to 1.0.0 2020-06-10 10:21:08 +08:00
sunli
4af1e4d2ed Release 1.15.2
async-graphql@1.15.2

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

Generated by cargo-workspaces
2020-06-09 18:45:44 +08:00
Sunli
0b363dc167 Fix slice support #165 2020-06-09 18:45:22 +08:00
Sunli
5f1165dd3b 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
6a4ba16317 Update async-graphql-tide for tide 0.10.0 2020-06-08 11:18:32 +08:00
Sunli
af2cfcc20d
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
53e5467eb4
Add docs about into_read being blocking
Addresses #151
2020-06-07 20:44:01 -06:00
Sunli
e723aa0733 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
0682334fdb
Merge pull request #162 from mwilliammyers/refactor/check_reserved_name
Remove check_reserved_name
2020-06-08 10:39:55 +08:00
William Myers
afd28d8846
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
215922ee1f 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
06298ba4f4 Fix upload seems broken in the new version. #160 2020-06-07 16:32:05 +08:00
Sunli
443a370a1d
Merge pull request #159 from iancormac84/bson-upgrade
Upgrade bson crate.
2020-06-07 09:15:37 +08:00
iancormac84
8a76ebc44a Upgrade bson crate. 2020-06-06 12:38:15 -04:00
Sunli
aa1b2b61cc Fix Subscription panics when unsubscribing from exhausted stream #157 2020-06-06 19:58:36 +08:00
Sunli
83dd79dcae Rustfmt 2020-06-06 15:48:21 +08:00
Sunli
2c569d25f3 Rustfmt 2020-06-06 12:41:17 +08:00
Sunli
9ccb86d5cc Update Cargo.toml 2020-06-06 12:17:20 +08:00
Sunli
b7a824700b Update subscription.rs 2020-06-06 12:06:09 +08:00
Sunli
7efeeb543b 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
f59d9f080f Add tests for feature attribute 2020-06-06 11:49:29 +08:00
Sunli
c978668f6b Release 1.14.18
async-graphql@1.14.18

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

Generated by cargo-workspaces
2020-06-06 10:10:28 +08:00
Sunli
3292b068c2 Clippy cleanup 2020-06-06 10:10:10 +08:00
Sunli
a845cfed03 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
468d648906
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
eeff4ebeb9
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
1660eacb11
Update FnMut to FnOnce for query closure 2020-06-06 02:00:21 +02:00
Sunli
74dc863a8f Rustfmt and Clippy 2020-06-05 21:42:24 +08:00
Sunli
5beef0e536 add feature attribute to field attribute inside SimpleObject 2020-06-05 21:17:15 +08:00
Coenen Benjamin
614fb89703
add feature attribute to field attribute inside Object (#153)
* add feature support in field attribute
2020-06-05 21:06:53 +08:00
Sunli
076ccf4708 Release 1.14.15
async-graphql@1.14.15

Generated by cargo-workspaces
2020-06-05 15:44:01 +08:00
Sunli
9af4d2b5ad Add QueryBuilder::extension function. #87 2020-06-05 15:42:29 +08:00
Sunli
9e1d5661bd 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
60af11fd2d Clippy cleanup 2020-06-05 12:44:48 +08:00
Sunli
55328931cd Fix relay @defer requires a label in the second chunk. #146 2020-06-05 12:20:23 +08:00
Sunli
efa838f39e Update README.md 2020-06-03 19:33:32 +08:00
Sunli
bac565ed91 Add GET request support for async-graphql-warp 2020-06-03 19:06:00 +08:00
Sunli
305d80a698 Add GET request support for async-graphql-actix-web 2020-06-03 17:25:10 +08:00