Comments (3)
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.
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.
I implemented this in #73.
from hyperclient.
Related Issues (20)
- Bad interaction between URITemplate and Faraday parameter parsing means dropped values from queries including multiple values for a parameter
- Release version 0.8.3? HOT 9
- hyperclient v0.8.3 breaks compatibility with Faraday < v0.9 HOT 2
- Current homepage link is broken
- Error parsing response HOT 12
- Async background requests with futuroscope have not been async since 2014 HOT 5
- Link method_missing delegation wrongly returns nil when field value is false HOT 1
- Outdated faraday due to faraday_hal_middleware HOT 6
- wierd post repeat HOT 8
- Handle non-hal+json responses HOT 3
- Broken specs on Ruby 2.6.3 HOT 1
- EntryPoint#connection allows you to set faraday middleware after setting the adapter HOT 3
- Release v. Next HOT 1
- faraday_digestauth incompatible with Faraday 1.0+ HOT 3
- Fix remaining Minitest 6 warnings
- Faraday is not using ENV variables for proxy HOT 4
- Ruby 3 upgrade throws kernel error for the overwritten each method HOT 4
- faraday_middleware is deprecated HOT 4
- Migrate Travis-CI to Github Actions
- Go too nighttime's in this'll front 34 78 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperclient.