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

Switch from URI Templates to URI Pattern #588

Open
dunglas opened this issue Nov 17, 2021 · 2 comments
Open

Switch from URI Templates to URI Pattern #588

dunglas opened this issue Nov 17, 2021 · 2 comments
Labels
pinned The issue must not be marked as stale spec Spec-related issues

Comments

@dunglas
Copy link
Owner

dunglas commented Nov 17, 2021

There is a new proposal for a standard dedicated to matching URLs: https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API

If it is adopted, it will better fit the Mercure use case than how we currently hijack the URI Template spec.

@stale
Copy link

stale bot commented Jan 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 17, 2022
@stale stale bot closed this as completed Jan 26, 2022
@dunglas dunglas added pinned The issue must not be marked as stale spec Spec-related issues and removed wontfix This will not be worked on labels Feb 22, 2022
@dunglas dunglas reopened this Feb 22, 2022
@dunglas
Copy link
Owner Author

dunglas commented Aug 11, 2022

We currently lack a Go library implementing the URLPattern spec.

The algorithm to implement is fully described in the spec.

Some useful resources to implement this:

Similar code that may be adapted to conform to the spec:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned The issue must not be marked as stale spec Spec-related issues
Projects
None yet
Development

No branches or pull requests

1 participant