Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NamingCase
- parseNamingConventionFromText :: Text -> Either String NamingCase
- isGraphqlCase :: NamingCase -> Bool
Documentation
data NamingCase Source #
Represents the different possible type cases for fields and types, i.e.
HasuraCase
and GraphqlCase
(CamelCase
fields and PascalCase
types).
Instances
parseNamingConventionFromText :: Text -> Either String NamingCase Source #
isGraphqlCase :: NamingCase -> Bool Source #