Commit Graph

1106 Commits

Author SHA1 Message Date
Koxiaet 664f077be3 Update dependencies and make examples submodule 2020-10-15 20:48:06 +01:00
Koxiaet 5c47f1ec57 Require POST for GraphQL requests 2020-10-15 18:42:09 +01:00
Koxiaet 2756c2cd5b Require JSON content-type 2020-10-15 18:30:16 +01:00
Koxiaet 7caff6beee Improve Rocket integration
This is breaking, but since updating Rocket is also breaking I think
it's fine not to bump the major version number.
2020-10-15 18:19:20 +01:00
Koxiaet 1a1e2b376f Improve Warp integration
This contains a breaking change; BadRequest now contains a
ParseRequestError instead of an anyhow::Error, so it's implementation is
what the documentation says. I'm not sure whether it's worth bumping
the major version number though.
2020-10-15 14:18:57 +01:00
Sunli 985ee939d4 Add `Schema::names` function. 2020-10-15 19:36:54 +08:00
Koxiaet 1a9f90d83e Improve Tide integration 2020-10-15 11:52:15 +01:00
Sunli b295de5539 Fix release workflow 2020-10-15 17:47:47 +08:00
Koxiaet 0683b5a6be Support GET requests in actix-web integration 2020-10-15 10:33:38 +01:00
Sunli 03b276fe7e Fix a small bug. 2020-10-15 16:45:33 +08:00
Sunli 28072f8bec
Merge pull request #313 from AurelienFT/master
Add templates
2020-10-15 16:21:32 +08:00
Aurelien Foucault d347cac0bd Add feature and question 2020-10-15 10:01:51 +02:00
Aurelien Foucault 2bfd3b240c Add template 2020-10-15 09:49:49 +02:00
Koxiaet 725156eda4 Rustfmt 2020-10-15 07:39:53 +01:00
Koxiaet d34ac0ba08 Make imports consistent 2020-10-15 07:38:10 +01:00
Koxiaet 6dca9e57f1 Rustfmt 2020-10-15 06:56:17 +01:00
Koxiaet ccae2d4ef5 Clean up crate root and improve context 2020-10-15 06:55:30 +01:00
Sunli 2671e45015 Update Cargo.toml 2020-10-15 09:11:17 +08:00
Sunli b4587b7ce9 Release 2.0.3
async-graphql@2.0.3
async-graphql-actix-web@2.0.3
async-graphql-derive@2.0.3
async-graphql-parser@2.0.3
async-graphql-rocket@2.0.3
async-graphql-tide@2.0.3
async-graphql-value@2.0.3
async-graphql-warp@2.0.3
chat@2.0.3
graphql-benchmark@2.0.3
simple@2.0.3

Generated by cargo-workspaces
2020-10-15 08:56:49 +08:00
Sunli b054f1bf9f Fix can no longer derive Union for union types with lifetimes. #311 2020-10-15 08:53:17 +08:00
Sunli bc5cf2f2a2 Configurable case conversion. 2020-10-14 19:16:10 +08:00
Sunli b331681fe1 2.0.2 2020-10-14 11:11:52 +08:00
Sunli 53ef84c5e3 Fix a bug in the validator. 2020-10-14 10:54:46 +08:00
Sunli b1ecc6b8a9 2.0.1 2020-10-14 10:25:41 +08:00
Sunli d7d26744ef Update book 2020-10-14 09:17:00 +08:00
Sunli a56f20827e Update book 2020-10-14 09:10:06 +08:00
Sunli 45ad7dc196 Update book 2020-10-14 08:03:51 +08:00
Sunli c1491563c0 Update introduction.md 2020-10-14 07:36:54 +08:00
Sunli 683f2483bb
Update book (#310)
Update book
2020-10-13 23:13:36 +08:00
Sunli 256ba11e58 Update define_simple_object.md 2020-10-13 10:52:04 +08:00
Sunli 13e51531d5 Update book 2020-10-13 10:36:57 +08:00
Sunli 11bb21f367 2.0.0 2020-10-13 10:31:19 +08:00
Sunli 184f8b169d Update docs 2020-10-13 10:19:30 +08:00
Sunli 9f1de91b8a Update book. 2020-10-13 07:35:30 +08:00
Sunli b3695cf9da 2.0.0-alpha.30 2020-10-12 21:10:27 +08:00
Sunli 8b1ddcdc0b Add scalar macro. 2020-10-12 21:06:06 +08:00
Sunli 23787cb6c5 2.0.0-alpha.29 2020-10-12 15:13:37 +08:00
Sunli 446dba6e0a Fix the lifetime generation problem of subscription. #309 2020-10-12 15:04:46 +08:00
Sunli 6dd9483762 Improve performance 2020-10-12 14:49:32 +08:00
Sunli 2e94ddaa26 2.0.0-alpha.28 2020-10-12 11:08:54 +08:00
Sunli 64e85b33c3 All merged objects will no longer be removed. #308 2020-10-12 11:04:01 +08:00
Sunli b0ceb58163 Use `value!` instead of `serde_json::json!`. 2020-10-12 10:17:05 +08:00
Sunli a575c9fe1e Add value! macro. 2020-10-12 09:28:51 +08:00
Sunli 35bbba7990 2.0.0-alpha.27 2020-10-12 07:54:01 +08:00
Sunli b6b6e5aa05 2.0.0-alpha.26 2020-10-11 21:36:28 +08:00
Sunli 269c1257da 2.0.0-alpha.25 2020-10-11 20:42:23 +08:00
Sunli 2ca10e0ded Add `parse_value` and `from_value` funcntions. 2020-10-11 20:24:31 +08:00
Sunli 78341f2392 2.0.0-alpha.24 2020-10-10 16:30:42 +08:00
Sunli 10cd868f4c Some improvements. 2020-10-10 16:28:07 +08:00
Sunli 38770b7a75
Merge pull request #304 from AurelienFT/eq_error
Derive Error with Eq
2020-10-09 09:35:20 +08:00