matrix-org / matrix-org/matrix-hookshot

Use `URL`s instead of strings for config values

Open
#564 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.