brave / brave/go-update

Tighten up struct field validation

Open
#263 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
40
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Leverage the [validator](https://github.com/go-playground/validator) package to enforce strict request payload.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or request-handling entry point is named in the issue. Start by locating where request payloads are decoded and validated, then review the validator package documentation; done means strict field validation is enforced for the relevant payloads with tests covering the accepted and rejected cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.