Documentation
¶
Index ¶
- func PublicSubscriptionSchema(server *resolver.GraphQLServer, cache *models.ApplicationCache) (*graphql.Schema, error)
- func SystemSchema(ctx context.Context, graphqlRequest *models.GraphQLIncomingRequest, ...) (*graphql.Result, error)
- func SystemSubscriptionSchema(ctx context.Context, server *resolver.GraphQLServer) (*graphql.Schema, error)
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.