This commit is contained in:
sunli 2020-04-10 10:26:08 +08:00
parent c6dfe06ef9
commit 8d98415fbd
5 changed files with 7 additions and 109 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "async-graphql"
version = "1.7.8"
version = "1.8.0"
authors = ["sunli <scott_s829@163.com>"]
edition = "2018"
description = "The GraphQL server library implemented by rust"
@ -18,7 +18,7 @@ default = ["bson", "uuid", "url", "chrono-tz", "validators"]
validators = ["regex"]
[dependencies]
async-graphql-derive = { path = "async-graphql-derive", version = "1.7.8" }
async-graphql-derive = { path = "async-graphql-derive", version = "1.8.0" }
graphql-parser = "=0.2.3"
anyhow = "1.0.26"
thiserror = "1.0.11"

105
README.md
View File

@ -60,115 +60,12 @@ cargo run --release
* Apollo Tracing extension
* Limit query complexity/depth
* Error Extensions
* Apollo Federation
## Integrations
* Actix-web [async-graphql-actix-web](https://crates.io/crates/async-graphql-actix-web)
## Goals
- [X] Types
- [X] Scalar
- [X] Integer
- [X] Float
- [X] String
- [X] Bool
- [X] ID
- [X] DateTime
- [X] UUID
- [X] Url
- [X] ObjectId
- [X] Containers
- [X] List
- [X] Non-Null
- [X] Object
- [X] Enum
- [X] InputObject
- [X] Field default value
- [X] Deprecated flag
- [X] Interface
- [X] Union
- [X] Query
- [X] Fields
- [X] Arguments
- [X] Default value
- [X] Deprecated flag
- [X] Alias
- [X] Fragments
- [X] Inline fragments
- [X] Operation name
- [X] Variables
- [X] Default value
- [X] Parse value
- [X] Directives
- [X] @include
- [X] FIELD
- [X] FRAGMENT_SPREAD
- [X] INLINE_FRAGMENT
- [X] @skip
- [X] FIELD
- [X] FRAGMENT_SPREAD
- [X] INLINE_FRAGMENT
- [X] Introspection
- [X] Query
- [X] Disable introspection
- [X] Multipart Request
- [X] Cursor Connections
- [X] Input value validators
- [X] Custom validator
- [X] Combination
- [X] and
- [X] or
- [X] Integer
- [X] IntRange
- [X] IntLessThan
- [X] IntGreaterThan
- [X] IntNonZero
- [X] String
- [X] Email
- [X] MAC
- [X] StringMinLength
- [X] StringMaxLength
- [X] List
- [X] ListMaxLength
- [X] ListMinLength
- [X] Limit query complexity
- [X] Limit query depth
- [X] Extensions
- [X] Custom
- [X] Apollo tracing
- [X] Subscription
- [X] Filter
- [X] WebSocket transport
- [X] Validation rules
- [X] ArgumentsOfCorrectType
- [X] DefaultValuesOfCorrectType
- [X] FieldsOnCorrectType
- [X] FragmentsOnCompositeTypes
- [X] KnownArgumentNames
- [X] KnownDirectives
- [X] KnownFragmentNames
- [X] KnownTypeNames
- [X] LoneAnonymousOperation
- [X] NoFragmentCycles
- [X] NoUndefinedVariables
- [X] NoUnusedFragments
- [X] NoUnusedVariables
- [X] OverlappingFieldsCanBeMerged
- [X] PossibleFragmentSpreads
- [X] ProvidedNonNullArguments
- [X] ScalarLeafs
- [X] UniqueArgumentNames
- [X] UniqueFragmentNames
- [X] UniqueOperationNames
- [X] UniqueVariableNames
- [X] VariablesAreInputTypes
- [X] VariableInAllowedPosition
- [ ] Integration examples
- [X] Actix-web
- [ ] Hyper
- [X] Tide
## License
Licensed under either of

View File

@ -1,6 +1,6 @@
[package]
name = "async-graphql-actix-web"
version = "0.7.8"
version = "0.8.0"
authors = ["sunli <scott_s829@163.com>"]
edition = "2018"
description = "async-graphql for actix-web"
@ -13,7 +13,7 @@ keywords = ["futures", "async", "graphql"]
categories = ["network-programming", "asynchronous"]
[dependencies]
async-graphql = { path = "..", version = "1.7.8" }
async-graphql = { path = "..", version = "1.8.0" }
actix-web = "2.0.0"
actix-multipart = "0.2.0"
actix-web-actors = "2.0.0"

View File

@ -1,6 +1,6 @@
[package]
name = "async-graphql-derive"
version = "1.7.8"
version = "1.8.0"
authors = ["sunli <scott_s829@163.com>"]
edition = "2018"
description = "Macros for async-graphql"

View File

@ -42,6 +42,7 @@
//! * Apollo Tracing extension
//! * Limit query complexity/depth
//! * Error Extensions
//! * Apollo Federation
//!
//! ## Integrations
//!