Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data RoleContext a = RoleContext {
- _rctxDefault :: !a
- _rctxBackend :: !(Maybe a)
- data GQLContext = GQLContext {}
- type ParserFn a = SelectionSet NoFragments Variable -> Either QErr a
Documentation
data RoleContext a Source #
For storing both a normal GQLContext and one for the backend variant. Currently, this is to enable the backend variant to have certain insertupdatedelete permissions which the frontend variant does not.
RoleContext | |
|
Instances
data GQLContext Source #
Instances
ToJSON GQLContext Source # | |
Defined in Hasura.GraphQL.Context toJSON :: GQLContext -> Value toEncoding :: GQLContext -> Encoding toJSONList :: [GQLContext] -> Value toEncodingList :: [GQLContext] -> Encoding |