Skip to main content

Module vista

Module vista 

Source
Expand description

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 before erasing the table through AnyTable, so the universal Vista surface sees the same level of detail as the REST bridge.

GraphQL is read-only at this stage — the shell advertises can_count only. Writes will follow once the schema map (Phase 9) describes mutation field names per-table.

Re-exports§

pub use factory::GraphqlApiVistaFactory;
pub use source::GraphqlApiTableShell;
pub use spec::GraphqlApiVistaSpec;
pub use spec::NoGraphqlExtras;

Modules§

factory
GraphqlApiVistaFactory — typed-table entry point and VistaFactory trait impl for the GraphQL adapter.
source
GraphqlApiTableShell — owns the typed Table<GraphqlApi, EmptyEntity> and exposes it through the TableShell boundary.
spec
YAML-facing types for the GraphQL Vista driver.