Module
Prospero.Fastify
- Package
- purescript-prospero
- Repository
- rowtype-yoga/purescript-prospero
#serveGraphQL Source
serveGraphQL :: forall ctxRow errs gql r rl err_ outerRow extra errs'. RowToList (exception :: Error -> Aff GraphQLResponse | r) rl => VariantMatchCases rl err_ (Aff GraphQLResponse) => Union err_ () (exception :: Error | errs) => Union ctxRow extra outerRow => Keys ctxRow => GraphQL (Record ctxRow) errs gql -> { exception :: Error -> Aff GraphQLResponse | r } -> Fastify -> Om (Record outerRow) errs' Unit#runServeGraphQL Source
runServeGraphQL :: forall ctx errs gql r rl err_. RowToList (exception :: Error -> Aff GraphQLResponse | r) rl => VariantMatchCases rl err_ (Aff GraphQLResponse) => Union err_ () (exception :: Error | errs) => GraphQL ctx errs gql -> ctx -> { exception :: Error -> Aff GraphQLResponse | r } -> Fastify -> Effect Unit#simpleHandlers Source
simpleHandlers :: forall a. { exception :: Error -> Aff a, wrongArgumentType :: String -> Aff a }#SimpleErrs Source
type SimpleErrs :: Row Typetype SimpleErrs = (wrongArgumentType :: String)
- Modules
- Dev.
Client - Dev.
Schema - Dev.
Server - Prospero
- Prospero.
Bun - Prospero.
CacheControl - Prospero.
Client - Prospero.
Client. GqlUnion - Prospero.
Client. WebSocket - Prospero.
Codegen - Prospero.
Codegen. Main - Prospero.
Crypto - Prospero.
DataLoader - Prospero.
Defer - Prospero.
Directive - Prospero.
Execution - Prospero.
Fastify - Prospero.
Federation - Prospero.
GqlQuery - Prospero.
GqlTypes - Prospero.
GraphQLError - Prospero.
GraphQLWS - Prospero.
Http - Prospero.
InputValue - Prospero.
Introspection - Prospero.
Metadata - Prospero.
Om - Prospero.
Parser - Prospero.
Parser. AST - Prospero.
Parser. GraphQL - Prospero.
Parser. Lexer - Prospero.
Parser. Monad - Prospero.
Parser. Token - Prospero.
PersistedQueries - Prospero.
Relay - Prospero.
ResponseValue - Prospero.
RootResolver - Prospero.
SDL - Prospero.
Scalars - Prospero.
Schema - Prospero.
SchemaTransform - Prospero.
Step - Prospero.
Subscription - Prospero.
Tracing - Prospero.
Types - Prospero.
Upload - Prospero.
Validation - Prospero.
VariantHelper - Prospero.
WebSocket - Prospero.
Wrapper