Skip to content

feat(config): validate and bound request inputs - #424

Open
Jagadeeshftw wants to merge 1 commit into
Agentpay-Org:mainfrom
Jagadeeshftw:feature/config-02-validation
Open

feat(config): validate and bound request inputs#424
Jagadeeshftw wants to merge 1 commit into
Agentpay-Org:mainfrom
Jagadeeshftw:feature/config-02-validation

Conversation

@Jagadeeshftw

Copy link
Copy Markdown

Closes #373

Summary

  • Expands config request validation to cover every writable runtime config field
  • Binds numeric ranges for each field before updates reach the store
  • Updates tests to cover valid updates, out-of-range values, and schema enforcement

Validation

  • npm run lint
  • npm run build
  • node --test dist/config-patch.test.js dist/schema-validation.test.js dist/routes/operational.test.js dist/admin-reset.test.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate and bound config request inputs against malformed payloads

1 participant