Skip to content

Remove unused xdr-parser method and lockfile - #597

Merged
leighmcculloch merged 4 commits into
mainfrom
remove-dead-xdr-parser-code
Oct 8, 2026
Merged

leighmcculloch merged 4 commits into
mainfrom
remove-dead-xdr-parser-code

Conversation

@leighmcculloch

Copy link
Copy Markdown
Member

What

Remove TypeInfo::resolve_typedef_to_builtin_with.

Why

Nothing calls the method.

Known limitations

N/A

@leighmcculloch
leighmcculloch marked this pull request as ready for review September 29, 2026 03:18
Copilot AI lite review requested due to automatic review settings September 29, 2026 03:18

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.

Copilot review overview

🔵 Needs a closer look

Removing a public API may break downstream users and needs appropriate compatibility or release treatment.

Review effort: Lite
Findings: None

What changed in this PR

Removes the unused TypeInfo::resolve_typedef_to_builtin_with method from the XDR parser.

Changes:

  • Deletes the unused resolver method and documentation.
  • Retains the active typedef-to-builtin resolver.
  • The removal may be a breaking change because the method is public.
File Description
xdr-generator-rust/​xdr-parser/​src/​types.rs Removes the public resolver method; versioning or deprecation treatment may be required.

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

@leighmcculloch
leighmcculloch requested review from a team October 5, 2026 22:12
@leighmcculloch
leighmcculloch added this pull request to the merge queue Oct 8, 2026
Copilot AI lite review requested due to automatic review settings October 8, 2026 02:01
Merged via the queue into main with commit c3016ad Oct 8, 2026
5 checks passed
@leighmcculloch
leighmcculloch deleted the remove-dead-xdr-parser-code branch October 8, 2026 02:03

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

The remaining lockfile discrepancy is a minor nit and does not block approval.

0 open findings

🧠 Review effort: Lite


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

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.

3 participants