Skip to main content

vantage_api_client/graphql/
mod.rs

1//! GraphQL adapter for Vantage.
2//!
3//! Talks to a GraphQL endpoint over HTTP. Unlike the REST sibling, this
4//! adapter has its own query language (rendered via `GraphqlSelect`),
5//! structured filter conditions, mandatory field projection, and
6//! nested selection sets for relationships — closer in shape to the
7//! MongoDB or SQL backends than to REST.
8//!
9//! Schemas are maintained locally (no introspection); type information
10//! flows through the `GraphqlType` system declared in `types`.
11
12pub mod api;
13pub mod condition;
14pub mod impls;
15pub mod operation;
16pub mod select;
17pub mod types;
18pub mod vista;
19
20pub use api::{GraphqlApi, GraphqlApiBuilder};
21pub use condition::{FieldCondition, FilterDialect, GraphqlCondition, GraphqlOp};
22pub use operation::GraphqlOperation;
23pub use select::{GraphqlSelect, render::RenderedQuery};
24pub use types::{AnyGraphqlType, GraphqlType, GraphqlTypeVariants};
25pub use vista::{
26    GraphqlApiTableShell, GraphqlApiVistaFactory, GraphqlApiVistaSpec, NoGraphqlExtras,
27    spec::{GraphqlBlock, GraphqlColumnBlock, GraphqlColumnExtras, GraphqlTableExtras},
28};