linka-cloud / linka-cloud/prost-validate

Support returning multiple validation errors

Open
#6 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
37
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Today, validation ends on the first validation error encountered.

This asks that all validation errors be aggregated in some kind of collection, so all validation errors (or at least, as many as possible or that makes sense) are returned.

This can be behind a generation flag so both behaviors can be generated. Generating both at once (so both ways are available at runtime) should probably not be a goal.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by locating the validation-generation path and its existing single-error behavior, then define the supported aggregation scope and generation-flag behavior before adding tests that distinguish the modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, rust
Domain
backend-api-design, tooling
Issue type
Feature
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.