1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Vista bridge for the GraphQL backend.
//!
//! Construct a `Vista` from a typed `Table<GraphqlApi, E>` via
//! `GraphqlApi::vista_factory().from_table(...)`. Metadata (columns, id
//! field, title fields, references) is harvested up front; the typed
//! table is then re-wrapped as `Table<GraphqlApi, EmptyEntity>` so the
//! universal Vista surface sees the same level of detail as the REST
//! bridge.
//!
//! A YAML spec builds the same way through `build_from_spec`, and its
//! `references:` traverse to other specs on the same endpoint.
//!
//! The shell only reads: it counts, lists and fetches by id, and
//! advertises ordering, search and paging where the root field takes them.
//! Writes are not supported, because mutation names and argument shapes
//! differ from one schema to the next.
pub use GraphqlApiVistaFactory;
pub use GraphqlApiTableShell;
pub use ;
use crateGraphqlApi;