Repository navigation
Align JSON Schema import, export, and format behavior - #271
Conversation
Release-readiness item D1.
Release-readiness item D2.
Release-readiness item D4.
Release-readiness item D5. Use the default for Q14.
Release-readiness item E1. Use the default for Q1.
Release readiness D6.
Release readiness E1 and decision Q2.
Release readiness E2 and decision Q12.
Release readiness D5.
Release readiness E3.
Release readiness D7.
Release readiness E4.
Release readiness D8.
Release readiness D9.
Release readiness E5.
Release readiness E6 and decision Q13.
Release readiness D8.
Release readiness C1.
Release readiness E7.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Release readiness C2.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b77b54e995
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| in properties?.entries ?? | ||
| const <MapEntry<String, AckSchemaModel>>[]) { | ||
| final key = escapeJsonPointerToken(entry.key); | ||
| yield* entry.value._warningsAt('$path/properties/$key'); |
There was a problem hiding this comment.
Account for nullable wrappers in descendant warning paths
When a model is nullable, finishTypeJson() places its properties or items under anyOf[0], but this traversal still appends them directly to the current path. For example, Ack.object({'x': Ack.any()}).nullable().toSchemaModel().allWarnings reports #/properties/x, although the exported schema contains that node at #/anyOf/0/properties/x. Nullable compositions have the same mismatch with finishCompositionJson(). Include the nullable wrapper in descendant paths so the advertised JSON Pointers resolve against the exported schema.
Useful? React with 👍 / 👎.
Release readiness C3.
Release readiness C4 and decision Q10.
Release readiness C5.
Release readiness C6.
Release readiness C7.
Release readiness C8 and decision Q11.
Release readiness C9.
Release readiness C8 and C9.
…ublic-api # Conflicts: # docs/getting-started/migration-guide.mdx # packages/ack/CHANGELOG.md # packages/ack/lib/ack.dart # packages/ack/lib/src/annotations/constraints.dart # packages/ack/lib/src/constraints/pattern_constraint.dart # packages/ack/lib/src/schemas/any_of_schema.dart # packages/ack/lib/src/schemas/schema.dart # packages/ack_generator/CHANGELOG.md # packages/ack_generator/test/integration/validate_alias_test.dart # plugins/ack/skills/build-data-classes-with-ack/SKILL.md
…into release-readiness/c-generator # Conflicts: # docs/getting-started/migration-guide.mdx # packages/ack/CHANGELOG.md # packages/ack_generator/CHANGELOG.md
Draft-7 imports report unsupported
dependencies, and Draft-7 export preservesformatannotations while reporting asserted formats with their JSON Pointers. Email, date, and international hostname validation now use consistent rules. The adapters expose optional Unicode normalization. Schema models report nested warnings with their paths and render nullable raw schemas without a resource ID.The importer reference-cycle item is tracked separately as an error-handling follow-up.
Dart 3.14.0 passed the 2,961-test core suite, 53 adapter tests, 65 generator library tests, and strict analysis of the changed packages. The IDNA parity cases also agreed on the VM and dart2js.
Open workspace in Conductor