Giter Site home page Giter Site logo

Comments (4)

Arguggi avatar Arguggi commented on June 3, 2024

I can try and help. Since the stackage nightly-2016-05-08 has servant v0.6.1 I'll migrate to that version. Then migrating to v0.7 is easy since releases should be much smaller now.

From the servant changelogs I think this is what is needed:

  • Switch from EitherT to ExceptT
  • Add Manager and BaseUrl to every api function (see servant-client v0.6 changelog)
  • Switch from ToText and FromText to ToHttpApiData and FromHttpApiData

So the following dependecies should be needed:

  • transformers (ExceptT)
  • http-api-data ({To,From}HttpApiData)
  • http-client (Manager)

I'll send a pull request soon if everything goes as planned.

from haskell-telegram-api.

klappvisor avatar klappvisor commented on June 3, 2024

Hi Arguggi,
Contribution is highly appreciated!

from haskell-telegram-api.

Arguggi avatar Arguggi commented on June 3, 2024

I was almost done but the most recent tls (1.3*) library seems to be bugged. I tried sending a message to telegram but received a connection error (looks like this issue) . Compiling with tls-1.2.2 seems to works.

Edit: tls-1.3.7 seems to fix the error

from haskell-telegram-api.

klappvisor avatar klappvisor commented on June 3, 2024

Updated servant version to v0.7 via extra-deps. I will come back to it to check resolver version before merge to master.

from haskell-telegram-api.

Related Issues (20)

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.