GithubHelp home page GithubHelp logo

servant-blaze's People

Contributors

alpmestan avatar codedmart avatar edsko avatar fisx avatar jkarni avatar jml avatar luigy avatar maksbotan avatar phadej avatar shnarazk avatar soenkehahn avatar sol avatar taneb avatar ysangkok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

servant-blaze's Issues

Can not be used in the client part

Hello

while working on an API, I end up with this error

/home/experiences/instrumentation/picca/autoprocess-exe/src/Web.hs:95:32: error:
    • No instance for (Servant.API.ContentTypes.MimeUnrender
                         HTML (Text.Blaze.Internal.MarkupM ()))
        arising from a use of ‘client’
    • In the expression: client myApi
      In a pattern binding: postJobSpecSub :<|> homepage = client myApi
   |
95 | postJobSpecSub :<|> homepage = client myApi
   |                                ^^^^^^^^^^^^

--  While building custom Setup.hs for package autoprocessing-0.1.0.0 using:
      /home/experiences/instrumentation/picca/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-2.0.1.0 build lib:autoprocessing exe:autoprocessing-exe --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1

So my question is what is the proper way to use the client part in an API

Cheers

Please support warp 3.3.5?

Would it be possible to get an update for servant-blaze that supports the current version of warp-3.3.5? I tried the build with the upper bound edited out and it succeeded just fine, so maybe all there is to it is to edit the Cabal file an Hackage to allow the newer version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.