MapColonies / MapColonies/config-server

Aggregate all errors on config or schema refs issues

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority: low
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Currently when there is an issue with a `ref` then the first found is returned even if there are multiple issues of the same nature. In case there are multiple issues, many requests will be needed in order to fix all of them instead of understanding everything that's wrong with one request.

**Describe the solution you'd like**
Collect all errors of the same nature and throw them as a group.

**Describe alternatives you've considered**
This may be "solved" by the use of the `UI` which is supposed to be the main way the users will deal with `schemas` and `configurations`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the config and schema reference validation entry points in config-server and trace where the first error is returned. Check whether existing tests cover multiple invalid refs; done means one request reports all errors of the same nature together rather than stopping at the first.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.