graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.GraphQL.Schema.NamingCase

Synopsis

Documentation

data NamingCase Source #

Represents the different possible type cases for fields and types, i.e. HasuraCase and GraphqlCase (CamelCase fields and PascalCase types).

Constructors

HasuraCase 
GraphqlCase 

Instances

Instances details
Eq NamingCase Source # 
Instance details

Defined in Hasura.GraphQL.Schema.NamingCase

Show NamingCase Source # 
Instance details

Defined in Hasura.GraphQL.Schema.NamingCase

Generic NamingCase Source # 
Instance details

Defined in Hasura.GraphQL.Schema.NamingCase

Associated Types

type Rep NamingCase :: Type -> Type #

FromJSON NamingCase Source # 
Instance details

Defined in Hasura.GraphQL.Schema.NamingCase

Methods

parseJSON :: Value -> Parser NamingCase

parseJSONList :: Value -> Parser [NamingCase]

ToJSON NamingCase Source # 
Instance details

Defined in Hasura.GraphQL.Schema.NamingCase

Methods

toJSON :: NamingCase -> Value

toEncoding :: NamingCase -> Encoding

toJSONList :: [NamingCase] -> Value

toEncodingList :: [NamingCase] -> Encoding

Cacheable NamingCase Source # 
Instance details

Defined in Hasura.GraphQL.Schema.NamingCase

FromEnv NamingCase Source # 
Instance details

Defined in Hasura.Server.Init.Env

type Rep NamingCase Source # 
Instance details

Defined in Hasura.GraphQL.Schema.NamingCase

type Rep NamingCase = D1 ('MetaData "NamingCase" "Hasura.GraphQL.Schema.NamingCase" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "HasuraCase" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GraphqlCase" 'PrefixI 'False) (U1 :: Type -> Type))