Commit 5357711
committed
feat: implement parameterized resource support using matchit
- Add matchit dependency for high-performance URI routing
- Replace hardcoded 'default' parameters with actual URI parameter extraction
- Implement URI template parsing for custom schemes (timedate://, resource://, etc.)
- Generate router-based dispatch instead of literal string matching
- Support both parameterized and non-parameterized resources
- Phase 1 implementation supporting String parameters only
Breaking changes:
- Projects using parameterized resources must add 'matchit = "0.8"' dependency
Fixes parameterized resources that were completely broken since v0.9.01 parent ac048c2 commit 5357711
3 files changed
+326
-131
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments