aweary / aweary/microbe.js

Allow optional route parameters

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Implement a flag that identifies a param as optional, such as `/users/:name?`

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the route parser or matcher that handles `/users/:name`, then trace how parameter tokens are recognized. Done means a route with `:name?` matches with and without that segment while required parameters retain their current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.