Open dunglas opened 2 years ago
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.
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:
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.