Bug fixes and add resource.use method
Pre-release
Pre-release
- The
resource.usemethod is used to register middleware for resources. The docs will cover the API - The
resource.only,resource.apiOnlyandresource.exceptmethods will narrow down the available action names in the returned instance.
Commits
- refactor: improve perf for looking up routes 350e248
- refactor: use a performant alternative to build the '/' route c9d3445
- fix: clearing slash prefixes before adding uriSegment within url builder's processPattern (#77) a0e8f15
- fix: breaking types because of changes to supertest types 644ad49
- feat: add resource.use and resource.middleware methods f4a1948
- feat: improve types of route resource filtering methods 2ce6cba
- chore: publish source maps and use tsc for generating types c7f9e39
- chore: update dependencies d81de83
What's Changed
- fix: clearing slash prefixes before adding uriSegment within url builder's processPattern by @tomgobich in #77
New Contributors
- @tomgobich made their first contribution in #77
Full Changelog: v7.0.0-1...v7.0.0-2