Skip to content
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

Recommanded URITemplate extraction method? #388

Open
Lcfvs opened this issue Oct 18, 2019 · 5 comments
Open

Recommanded URITemplate extraction method? #388

Lcfvs opened this issue Oct 18, 2019 · 5 comments
Labels

Comments

@Lcfvs
Copy link

Lcfvs commented Oct 18, 2019

Hi,

I don't see any URITemplate extraction method... did I miss it or is there a recommanded companion to do it, please?

@Lcfvs
Copy link
Author

Lcfvs commented Oct 18, 2019

I have seen the alternatives in your readme (uri-template & uri-templates) but I prefer to use yours.

@rodneyrehm
Copy link
Member

What exactly do you mean by "URITemplate extraction method"?

@Lcfvs
Copy link
Author

Lcfvs commented Oct 20, 2019

Extract the pairs (key/value) from an URI, based on the template, a few like this: https://github.com/rezigned/uri-template.js#extraction

@rodneyrehm
Copy link
Member

extraction is not covered by RFC6570 and therefore wasn't implemented in URI.js

@Lcfvs
Copy link
Author

Lcfvs commented Oct 21, 2019

It's ok but why not a URI.js "companion" using your template structure? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants