Skip to content

fix(kotlin): validate Klaxon numeric bounds - #3416

Open
schani wants to merge 1 commit into
masterfrom
fix/kotlin-klaxon-numeric-bounds
Open

fix(kotlin): validate Klaxon numeric bounds#3416
schani wants to merge 1 commit into
masterfrom
fix/kotlin-klaxon-numeric-bounds

Conversation

@schani

@schani schani commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

  • enforce schema numeric bounds in Klaxon models
  • validate optional constrained values only when present

Tests

  • npm run build
  • npm run lint
  • FIXTURE=schema-kotlin npm run test:fixtures -- test/inputs/schema/minmax.schema test/inputs/schema/minmax-integer.schema test/inputs/schema/optional-constraints.schema

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Generated-output differences

6 files differ — 6 modified, 0 new, 0 deleted
48 changed lines — +48 / −0

Open the generated-output report →

@schani
schani force-pushed the fix/kotlin-klaxon-numeric-bounds branch from 9b2d0d5 to 8db938b Compare September 1, 2026 21:40
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Generated-output differences

6 files differ — 6 modified, 0 new, 0 deleted
144 changed lines — +144 / −0

Open the generated-output report →

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.

1 participant