morpheus-graphql-code-gen-utils 0.24.0 → 0.24.1
raw patch · 2 files changed
+5/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
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.24.0+version: 0.24.1 synopsis: Morpheus GraphQL CLI description: code generator for Morpheus GraphQL category: web, graphql, cli
src/Data/Morpheus/CodeGen/Internal/AST.hs view
@@ -204,7 +204,10 @@ <> vsep (map renderImport $ sortWith fst imports) <> line <> line- <> vsep (map pretty types)+ <> vsep (filter notEmpty $ map pretty types)++notEmpty :: Doc a -> Bool+notEmpty x = not $ null (show x :: String) renderExtension :: Text -> Doc ann renderExtension txt