Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Nov 11, 2025

Description

serde(flatten) tells serde to directly serialize these fields into the same level as the rest of the struct, without any nesting. That way, we don't need to redefine all the VCS fields on ChunkedBuildRequest.

Copy link
Member Author

szokeasaurusrex commented Nov 11, 2025

@szokeasaurusrex szokeasaurusrex changed the title ref(build): Use serde(flatten to include VcsInfo in ChunkedBuildRequest ref(build): Use serde(flatten) to include VcsInfo in ChunkedBuildRequest Nov 11, 2025
@szokeasaurusrex szokeasaurusrex changed the title ref(build): Use serde(flatten) to include VcsInfo in ChunkedBuildRequest ref(build): Use VcsInfo directly in ChunkedBuildRequest Nov 11, 2025
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review November 11, 2025 21:56
@szokeasaurusrex szokeasaurusrex requested review from a team as code owners November 11, 2025 21:56
### Description
`serde(flatten)` tells serde to directly serialize these fields into the same level as the rest of the struct, without any nesting. That way, we don't need to redefine all the VCS fields on `ChunkedBuildRequest`.
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/simplify_vcs_serialization branch from 0be90db to f303fd4 Compare November 11, 2025 21:58
Copy link
Contributor

@runningcode runningcode left a comment

Choose a reason for hiding this comment

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

nice simplification!

@szokeasaurusrex szokeasaurusrex merged commit f303fd4 into master Nov 12, 2025
28 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/simplify_vcs_serialization branch November 12, 2025 14:16
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.

4 participants