Skip to content

Conversation

@tertsdiepraam
Copy link
Contributor

@tertsdiepraam tertsdiepraam commented Jul 15, 2025

I originally introduced Optional with that name because I thought that it wouldn't be possible for users to pass Option<T> to Roto. The name Optional would then make it easier to distinguish Rust's Option<T> from Roto's Optional<T>. However, with the transform system in the Reflect trait, it is now just possible to pass a Option<T> to Roto and the transformation to the proper Roto type will happen automatically. Therefore, I don't want to bother users with the distinction anymore.

@tertsdiepraam tertsdiepraam force-pushed the optional-to-option branch 3 times, most recently from 3b79224 to 20c7218 Compare July 17, 2025 09:11
@tertsdiepraam tertsdiepraam merged commit 2b09c56 into main Jul 17, 2025
13 checks passed
@tertsdiepraam tertsdiepraam deleted the optional-to-option branch July 17, 2025 11:37
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.

1 participant