practicalli / practicalli/clojure-web-services
reitit - capture parameters
Nobody has claimed this yet.
- Dominant language
- Markdown
- Stars
- 16
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
capture params that are multiple path parts
/path/{rest/of/the/path)
/path/{*path} that'll make it available under path
reitit route-syntax is defined here, for future reference: https://cljdoc.org/d/metosin/reitit/CURRENT/doc/basics/route-syntax
in compojure that would just be /path/:stuff and then you'd have that all in stuff (and you can use regex to specify a pattern
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked reitit route-syntax reference and locating the repository's routing setup. Verify how a route such as /path/{*path} should capture multiple path parts under path, then demonstrate the expected behavior in the relevant example and add coverage if routing tests are present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100