schemas

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublicSubscriptionSchema added in v1.7.0

func PublicSubscriptionSchema(server *resolver.GraphQLServer, cache *models.ApplicationCache) (*graphql.Schema, error)

PublicSubscriptionSchema builds the per-project GraphQL subscription schema served over websockets. It auto-generates one `<model>Changed` field per model the role may read, plus a generic `broadcast(channel)` field.

The change-event `node` is a JSON scalar (the full document), keeping the schema small and DB-engine agnostic — mirroring Supabase postgres_changes.

func SystemSchema

func SystemSchema(ctx context.Context, graphqlRequest *models.GraphQLIncomingRequest, server *resolver.GraphQLServer, echo echo.Context) (*graphql.Result, error)

func SystemSubscriptionSchema

func SystemSubscriptionSchema(ctx context.Context, server *resolver.GraphQLServer) (*graphql.Schema, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL