[][src]Crate async_graphql

The GraphQL server library implemented by rust

Crates.io version Download docs.rs docs

Documentation

Features

  • Fully support async/await.
  • Type safety.
  • Rustfmt friendly (Procedural Macro).
  • Custom scalar.
  • Minimal overhead.
  • Easy integration (hyper, actix_web, tide ...).

License

Licensed under either of

  • Apache License, Version 2.0, (./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.

References

Modules

http

Macros

impl_scalar

Structs

GQLEmptyMutation

Empty mutation

ID

ID scalar

PositionError
QueryBuilder

Query builder

QueryParseError
Schema

GraphQL schema

Upload

Upload file type

Variables

Variables of query

Enums

QueryError
Value

Traits

ErrorWithPosition
GQLScalar

Represents a GraphQL scalar

Type Definitions

Context

Context object for resolve field.

Error
Result

Attribute Macros

Enum

Define a GraphQL enum

InputObject

Define a GraphQL input object

Interface

Define a GraphQL interface

Object

Define a GraphQL object

Union

Define a GraphQL union