elm-bridge 0.2.1.0 → 0.2.1.1
raw patch · 2 files changed
+5/−4 lines, 2 filesdep ~aeson
Dependency ranges changed: aeson
Files
- elm-bridge.cabal +2/−4
- src/Elm/Derive.hs +3/−0
elm-bridge.cabal view
@@ -1,5 +1,5 @@ name: elm-bridge-version: 0.2.1.0+version: 0.2.1.1 synopsis: Derive Elm types from Haskell types description: Building the bridge from Haskell to Elm and back. Define types once, use on both sides and enjoy easy (de)serialisation. Cheers!@@ -31,9 +31,7 @@ other-modules: Elm.Utils build-depends: base >= 4.7 && < 5, template-haskell,--- There is a known bug in aeson 0.10.0.0 that is triggered by the derivation--- function in some cases: https://github.com/bos/aeson/issues/293- aeson == 0.9.*+ aeson >= 0.9 default-language: Haskell2010 test-suite end-to-end-tests
src/Elm/Derive.hs view
@@ -45,6 +45,9 @@ , A.constructorTagModifier = id , A.allNullaryToStringTag = True , A.omitNothingFields = False+#if MIN_VERSION_aeson(0,10,0)+ , A.unwrapUnaryRecords = False+#endif } {-| This generates a default set of options. The parameter represents the