muety / muety/wakapi

Migrate from `configor` to `koanf`

Open
#910 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

effort:3 good first issue help wanted prio c technical_task
Dominant language
Go
Stars
4.4k
Forks
300
Avg merge
4h 21m
Merged PRs (30d)
1

Description

configor doesn't properly support reading lists of config structs from environment and, apart from that, seems to be dead anyway. Let's migrate to koanf instead. Most important thing is to maintain backwards compatibility with all existing config variables (in YAML and from env.).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in config/config.go around line 732 and inspect how configor reads YAML and environment variables, especially lists of config structs. Compare the existing configuration variable names with koanf's loading behavior. Done means the migration preserves backwards compatibility for all existing YAML and environment configuration variables.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.