packages feed

morpheus-graphql-code-gen-utils 0.22.0 → 0.22.1

raw patch · 2 files changed

+8/−2 lines, 2 files

Files

morpheus-graphql-code-gen-utils.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           morpheus-graphql-code-gen-utils-version:        0.22.0+version:        0.22.1 synopsis:       Morpheus GraphQL CLI description:    code generator for Morpheus GraphQL category:       web, graphql, cli
src/Data/Morpheus/CodeGen/TH.hs view
@@ -137,8 +137,14 @@ instance (ToName a) => ToCon a Exp where   toCon = ConE . toName +{- ORMOLU_DISABLE -} instance (ToName a) => ToCon a Pat where-  toCon name = ConP (toName name) []+#if MIN_VERSION_template_haskell(2,18,0)+  toCon name = ConP (toName name) [] []+#else+  toCon name = ConP (toName name) [] +#endif+{- ORMOLU_ENABLE -}  class ToVar a b where   toVar :: a -> b