circe / circe/circe-json-schema

Rethink validation error representation

Open
#9 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
51
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Currently this is a pretty slim wrapper for Everit's `ValidationException`, and there are probably some ways it could be improved. For a document with two schema violations, for example, there are three error values, since the top-level Everit exception ("2 schema violations found") is included.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by tracing the wrapper around Everit’s ValidationException and how its errors are exposed. Define the expected representation for a document with two schema violations, then update the relevant implementation and tests once that behavior is agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend-api-design
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.