Skip to content

Add strict declared type validation - #98

Merged
eviltester merged 1 commit into
masterfrom
codex/issue-97-strict-declared-type-validation
Jul 31, 2026
Merged

Add strict declared type validation#98
eviltester merged 1 commit into
masterfrom
codex/issue-97-strict-declared-type-validation

Conversation

@eviltester

Copy link
Copy Markdown
Owner

Summary

  • Preserve JSON literal source types before declared-type validation, including distinguishing integer literals from decimal numeric literals.
  • Apply the stricter declared-type matrix only when willApiEnforceDeclaredTypesInInput() is enabled.
  • Carry source type metadata through JSON request bodies, JSON PATCH mapping, body fields, and command validation while keeping lenient-mode conversion behavior.
  • Add parser, command-service, and HTTP coverage for strict and lenient behavior.

Fixes #97.

Validation

  • mvn -pl thingifier test — 470 tests passing

@eviltester
eviltester marked this pull request as ready for review July 31, 2026 08:41
Copilot AI review requested due to automatic review settings July 31, 2026 08:41
@eviltester
eviltester merged commit f033996 into master Jul 31, 2026
3 checks passed
@eviltester
eviltester deleted the codex/issue-97-strict-declared-type-validation branch July 31, 2026 08:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

stricter type checking on JSON Input

2 participants