Skip to content

Non-optional sectioning - #515

Merged
stephencelis merged 1 commit into
mainfrom
section-builders
Jul 29, 2026
Merged

Non-optional sectioning#515
stephencelis merged 1 commit into
mainfrom
section-builders

Conversation

@stephencelis

Copy link
Copy Markdown
Member

Our section builder was generalized beyond optional strings late in its design, leaving it in an incomplete state. Non-optional string sections produced by Statement.fetchAll(sectionBy:) were still optional when they didn't need to be.

This PR closes the gap and improves a few edge cases around section builders and optionality, where nested branches with optionality could fail to compile.

Our section builder was generalized beyond optional strings late in its
design, leaving it in an incomplete state. Non-optional string sections
produced by `Statement.fetchAll(sectionBy:)` were still optional when
they didn't need to be.

This PR closes the gap and improves a few edge cases around section
builders and optionality, where nested branches with optionality could
fail to compile.
@stephencelis
stephencelis requested a review from mbrandonw July 29, 2026 16:25
@stephencelis
stephencelis merged commit 2647141 into main Jul 29, 2026
5 checks passed
@stephencelis
stephencelis deleted the section-builders branch July 29, 2026 16:56
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.

2 participants