Skip to content

Unified: Update a few more models with ? - #23267

Open
geoffw0 wants to merge 1 commit into
github:mainfrom
geoffw0:models
Open

geoffw0 wants to merge 1 commit into
github:mainfrom
geoffw0:models

Conversation

@geoffw0

@geoffw0 geoffw0 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Update / simplify a few models with ? - following #23229 .

@asgerf

@geoffw0
geoffw0 requested a review from a team as a code owner November 26, 2026 18:49
@geoffw0 geoffw0 added the no-change-note-required This PR does not need a change note label Nov 26, 2026
Copilot AI adaptive review requested due to automatic review settings November 26, 2026 18:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the Swift security-model consolidation.

No open issues 🎉

What changed in this PR

Simplifies Unified’s Swift security models using the optional-parameter syntax introduced in #23229, replacing duplicate entries while preserving their modeled call forms.

Changes:

  • Combines two NSPredicate initializer models using an optional unlabeled argument.
  • Combines two Process.run models using an optional terminationHandler parameter.
File Description
unified/​ql/​lib/​ext/​nspredicate.model.json Consolidates predicate-injection models into init(format:_?:).
unified/​ql/​lib/​ext/​legacy-swift.model.json Consolidates command-injection models into run(_:arguments:terminationHandler?:).

Review effort: Balanced (adaptive)

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

no-change-note-required This PR does not need a change note Unified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants