-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following multiple link relations from a resource. #11
Comments
Update:
Works. Is this a possible bug fix? |
Yeah, right. Seems I promised too much regarding the combination of I wonder why this worked for you in vanilla traverson? Or didn't you use Anyway, a fix landed in traverson@2.0.1 and traverson-angular@2.1.2 includes traverson@2.0.1, so it also has this fix. |
You are right, I wasn't using newRequest() at all when you using plain traverson. Somehow it still worked just using traversal.continue().follow... multiple times. Well, at least I now learned how to use Traverson correctly. Thanks a lot for the fix! |
In vanilla traverson, I've been successfully using traversal.continue() to follow multiple link relations from a resource.
I have problems doing the same thing with traverson-angular. I'm following the documentation on traverson-angular for continuing a link traversal but I get stuck when I try to create two different continuations from an initial request.
Am I doing something wrong with cloning the request builder? Following the documentation:
This works as expected. As a next step, I want to clone the request builder with newRequest() in order two launch two seperate requests based on the initial one:
This is not working, what am I missing?
The text was updated successfully, but these errors were encountered: