Skip to content

Fix diff types#12699

Merged
Caleb-T-Owens merged 1 commit intomasterfrom
fix-diff-types
Mar 6, 2026
Merged

Fix diff types#12699
Caleb-T-Owens merged 1 commit intomasterfrom
fix-diff-types

Conversation

@Caleb-T-Owens
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 5, 2026 20:47
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
gitbutler-web Ignored Ignored Preview Mar 6, 2026 3:09pm

Request Review

@github-actions github-actions bot added the rust Pull requests that update Rust code label Mar 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds/updates Schemars schema helpers so diff-related types export byte-array schemas for BString fields.

Changes:

  • Introduces a new bstring_bytes_opt schema helper in but-schemars.
  • Updates DiffSpec schema annotations to use the new helper for byte-oriented path fields.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
crates/but-schemars/src/lib.rs Adds a new schema helper intended for optional byte-string fields.
crates/but-core/src/diff_types.rs Switches DiffSpec schema annotations to use byte-array schema helpers.

Copy link
Collaborator

@Byron Byron left a comment

Choose a reason for hiding this comment

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

I setting this back to draft because something is fishy here, let's clarify before merging.

@Byron Byron marked this pull request as draft March 6, 2026 05:49
@Caleb-T-Owens Caleb-T-Owens marked this pull request as ready for review March 6, 2026 14:56
Copilot AI review requested due to automatic review settings March 6, 2026 14:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

@Caleb-T-Owens Caleb-T-Owens enabled auto-merge March 6, 2026 15:10
@Caleb-T-Owens Caleb-T-Owens merged commit 138d52f into master Mar 6, 2026
36 checks passed
@Caleb-T-Owens Caleb-T-Owens deleted the fix-diff-types branch March 6, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants