packages feed

servant-purescript 0.5.0.0 → 0.6.0.0

raw patch · 3 files changed

+4/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Servant.PureScript.Internal: pName :: forall f_akfh. Lens' (Param f_akfh) ParamName
+ Servant.PureScript.Internal: pName :: forall f_akiw. Lens' (Param f_akiw) ParamName
- Servant.PureScript.Internal: pType :: forall f_akfh f_an1C. Lens (Param f_akfh) (Param f_an1C) f_akfh f_an1C
+ Servant.PureScript.Internal: pType :: forall f_akiw f_an4W. Lens (Param f_akiw) (Param f_an4W) f_akiw f_an4W

Files

servant-purescript.cabal view
@@ -1,5 +1,5 @@ name:                servant-purescript-version:             0.5.0.0+version:             0.6.0.0 synopsis:            Generate PureScript accessor functions for you servant API description:         Please see README.md homepage:            https://github.com/eskimor/servant-purescript#readme
src/Servant/PureScript.hs view
@@ -70,8 +70,8 @@     when (opts ^. generateSubscriberAPI) $ do       writeModule (opts ^. apiModuleName <> ".Subscriber") SubGen.genModule       writeModule (opts ^. apiModuleName <> ".MakeRequests") MakeRequests.genModule-    T.putStrLn "Successfully created your servant API purescript functions!"-    T.putStrLn "Please make sure you have purescript-servant-support version 4.0.0 or above installed:\n"+    T.putStrLn "\nSuccessfully created your servant API purescript functions!"+    T.putStrLn "Please make sure you have purescript-servant-support version 5.0.0 or above installed:\n"     T.putStrLn "  bower i --save purescript-servant-support\n"   where     apiList  = apiToList pAPI pBr
src/Servant/PureScript/CodeGen.hs view
@@ -123,7 +123,7 @@               Nothing -> "}"               Just _  -> ", content =" <+> "toNullable <<< Just <<< printJson <<< encodeJson $ reqBody" </> "}"       )-      </> "affResp <- liftAff $ affjax affReq"+      </> "affResp <- affjax affReq"       </> "getResult affReq decodeJson affResp" <> line     )