Skip to content

jtd-esm-codegen: qualified schemaPaths per normative json-java21-jtd spec - #170

Open
simbo1905 wants to merge 1 commit into
mainfrom
fix/jtd-esm-codegen-guard-paths
Open

simbo1905 wants to merge 1 commit into
mainfrom
fix/jtd-esm-codegen-guard-paths

Conversation

@simbo1905

Copy link
Copy Markdown
Owner

Aligns the jtd-esm-codegen JTD_CODEGEN_SPEC.md copy with the normative json-java21-jtd spec (ruling 15): qualified guard paths (sp + /elements, /properties, /values, /discriminator; root guard /properties; tags guard /properties/tags/elements) and the documented asDouble/asLong accessor names. The EsmRenderer emitter at HEAD already emits the qualified paths - verified row-by-row against the normative section 6.1 table; the divergence was spec-copy only. Verified: ./mvnw test -pl jtd-esm-codegen -am => BUILD SUCCESS, 359 tests, 0 failures, including the 316-case official validation.json conformance suite in GraalVM JS.

…-jtd spec (RFC 8927 3.3 conformance); align accessor names to documented renames (ruling 15)
Copilot AI lite review requested due to automatic review settings September 25, 2026 00:35
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T00:46:37.963407Z 4b417a6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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 review overview

🟢 Approval recommended

The documentation changes align with verified renderer behavior and all tests pass.

Review effort: Lite
Findings: None

What changed in this PR

Updates the ESM code-generation specification to match the normative JTD behavior and current renderer output.

Changes:

  • Corrects qualified schema paths.
  • Updates Java accessors to asDouble() and asLong().
  • Documentation-only change.
File Description
jtd-esm-codegen/​JTD_CODEGEN_SPEC.md Aligns documented emission rules with the normative specification and renderer output.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch has not been deployed

No deployments
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.

2 participants