You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The link itself needs to be templated, then it can be constructed with parameters. You're not supposed to throw in random parameters into a get link as far as I understand. That said I would be open for allowing code to do that I think. Want to try a PR and we can discuss it around code?
I took a stab at implementing this in #92 and the most efficient solution I found was to patch URITemplate. There're a few questions:
I don't love it this implementation. We're no longer complying with RFC6570 so monkey-patching is not the way to go. But I don't love rewriting the whole class either.
We need to be able to enable/disable this behavior. I wonder whether it needs to be per client, per URI or something else?
Activity
dblock commentedon Mar 18, 2015
The link itself needs to be templated, then it can be constructed with parameters. You're not supposed to throw in random parameters into a get link as far as I understand. That said I would be open for allowing code to do that I think. Want to try a PR and we can discuss it around code?
jufemaiz commentedon Mar 25, 2015
@dblock yep, I get that, however there are times when GET parameters are required - even with a RESTful approach. Will give it a crack. Cheers!
dblock commentedon Aug 15, 2015
@bhoggard this is what we discussed for that sort parameter, give it a shot!
Tests for current behavior, related to codegram#84.
Tests for current behavior, related to codegram#84.
WIP: always expand additional link variables, codegram#84.
WIP: always expand additional link variables, codegram#84.
dblock commentedon Aug 15, 2015
I took a stab at implementing this in #92 and the most efficient solution I found was to patch
URITemplate. There're a few questions:Tests for current behavior, related to codegram#84.
Tests for current behavior, related to codegram#84.
Tests for current behavior, related to codegram#84.
Merge pull request #93 from dblock/tests-for-templated-parameters
WIP: always expand additional link variables, codegram#84.