Skip to content

Conversation

ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Sep 8, 2025

Why this should be merged

Adds default-value support to the options package, which could previously only create configured types from zero values.

How this works

Exposes the option-application loop as the ApplyTo() function and refactors As() to share this code path.

How this was tested

Testable example acting as a unit test.

@powerslider
Copy link

LGTM, love it 🎉

@ARR4N ARR4N merged commit ba9ab53 into main Sep 9, 2025
12 checks passed
@ARR4N ARR4N deleted the arr4n/options-defaults branch September 9, 2025 14:11
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