graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.Session

Synopsis

Documentation

sessionVariableToGraphQLName :: SessionVariable -> Maybe Name Source #

Converts a SessionVariable value to a GraphQL name. This will fail if the session variable contains characters that are not valid for a graphql names. It is the caller's responsibility to decide what to do in such a case.

data UserAdminSecret Source #

Represent the admin secret state; whether the secret is sent in the request or if actually authorization is not configured.

Instances

Instances details
Show UserAdminSecret Source # 
Instance details

Defined in Hasura.Session

Eq UserAdminSecret Source # 
Instance details

Defined in Hasura.Session