-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Multiple links for the same link relation do not work. #11
Comments
I think it's very important that multiple elements with the same rel are supported. A common use case is for a call to show "down" links into sub resources you have access to. |
@juanmendes if you want you could review the PR #12 that @fidian provided and get it merged. If so LMK and I'll make you a collaborator. |
there are now 4 total contributors of this repo and this issue is still something that hugely effects the usage of this package with more complex headers. can that PR please be merged in asap so i can use this package? it fits my usecase perfectly, except that it doesn't create an array when multiple items when it needs to/should. |
@tehOPEologist if you read the PR in question closely, you'll realize that there is a good reason it didn't get merged. I don't have the bandwidth to review it closely and seems like none of the other contributors did. If you want to help take that PR as a basis and provide a cleaned up version of it to speed up the review required. |
It's been 4 years. I am guessing no one is maintaining this anymore? |
8 years now.. I think I need to move on to another project like: https://github.com/jhermsmeier/node-http-link-header |
For example, let's use a collection with multiple items.
When parsed, I only see the
/list/two
link. The first one appears to be consumed.I would expect an object like this:
The text was updated successfully, but these errors were encountered: