matrix-org / matrix-org/matrix-hookshot
Use `URL`s instead of strings for config values
Open
T-Task
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 95
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 23
Description
Using strings to hold user-defined URL configurations is a bit unwieldy. They should instead be `URL`s to allow some nicer processing on them (or maybe even some external URL-parsing library can be used, as `URL` is finicky in its own ways).
Contributor guide
Research direction
Start by tracing how user-defined URL configuration values are represented and processed throughout the project. Compare the behavior and limitations of TypeScript URLs with the current string handling, including whether an external URL-parsing library is needed; done means the configuration approach is agreed and applied consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100