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

Hasura.GraphQL.Schema.NamingCase

Synopsis

Documentation

hasNamingConventionChanged :: (HashSet ExperimentalFeature, NamingCase) -> (HashSet ExperimentalFeature, NamingCase) -> Bool Source #

Check if naming convention has changed The value of naming convention depends on whether the naming convention is enabled in experimental features and what the default naming convention (HASURA_GRAPHQL_DEFAULT_NAMING_CONVENTION) is hence use both these values to decide if naming convention has changed