Skip to content

Move owned values when merging and flattening - #1530

Merged
lovasoa merged 2 commits into
mainfrom
codex/cleanup-owned-values
Oct 7, 2026
Merged

lovasoa merged 2 commits into
mainfrom
codex/cleanup-owned-values

Conversation

@lovasoa

@lovasoa lovasoa commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Consume owned vectors when merging request values and flattening dynamic components, avoiding clones of strings and nested JSON values. Scalar replacement, ordering, and error behavior are preserved.

Regression coverage reuses the existing dynamic-component parser test as a compact case matrix: object and string inputs, nested arrays, empty arrays, exact output order, and invalid properties. A seven-case SingleOrVec matrix covers scalar/array combinations and empty arrays without a separate setup harness. All prior assertions remain covered.

Validation: cargo fmt --all, cargo clippy --all-targets --all-features -- -D warnings, and cargo test --lib (236 tests passed).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 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-10-07T10:23:38.495895Z 2e76ea5 New commits
ℹ️ 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.

@lovasoa
lovasoa added this pull request to the merge queue Oct 7, 2026
Merged via the queue into main with commit 970adec Oct 7, 2026
52 checks passed
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