Git Product home page Git Product logo

Comments (3)

oriolgual avatar oriolgual commented on July 16, 2024

Actually, I posted this at #18, I totally agree that you should get a Resource instead of a plain response. About how to implement this, I'm not totally sure, feel free to contribute with a PR and I'll try to pitch in. Thanks for your time and work @benhamill !

from hyperclient.

benhamill avatar benhamill commented on July 16, 2024

Honestly, in thinking about how I'd write this, I realized that I preferred a much different model for thinking about HAL documents and ended up writing cetacean. In theory, you could write a Faraday middleware to return Cetacean::Response objects instead of Faraday::Response objects... and that would basically cover what Hyperclient is intended to do (I mean--cetacean doesn't cover 100% of the HAL spec yet, but you get the idea).

from hyperclient.

dblock avatar dblock commented on July 16, 2024

I implemented this in #73.

from hyperclient.

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.