[][src]Crate warpgrapher

Warpgrapher makes it painless to create web services with graph-based data models. Describe the data model for which you want to run a web service. Wargrapher automatically generates a GraphQL schema from the data model, as well as a set of resolvers for basic create, read, update, and delete (CRUD) operations on that data. If you need more more sophisticated endpoints, you can supply your own custom resolvers. Warpgrapher will automatically generate the GraphQL configuration and invoke your custom resolvers when appropriate.

Re-exports

pub use client::WarpgrapherClient;
pub use error::Error;
pub use error::ErrorKind;
pub use server::config::WarpgrapherConfig;
pub use server::config::WarpgrapherResolverFunc;
pub use server::config::WarpgrapherResolvers;
pub use server::config::WarpgrapherValidatorFunc;
pub use server::config::WarpgrapherValidators;
pub use server::context::GraphQLContext;
pub use server::context::WarpgrapherRequestContext;
pub use server::extensions::Extension;
pub use server::extensions::WarpgrapherExtensions;
pub use server::neo4j::Neo4jEndpoint;
pub use server::objects::Node;
pub use server::schema::Info;
pub use server::schema::Property;
pub use server::Server;

Modules

client

This module provides the Warpgrapher client.

error

This module provides error handling for WarpGrapher.

server

This module provides WarpGrapher servers, including supporting modules for configuration, GraphQL schema generation, resolvers, and interface to the database.

Structs

Arguments

Field argument container

Executor

Query execution engine

Object

A Object value

Enums

Value

Serializable value returned from query and field execution.

Type Definitions

ExecutionResult

The result of resolving an unspecified field