Skip to content

Add ::preload() method to enums#2

Merged
inxilpro merged 2 commits intomainfrom
feature/preload
Sep 5, 2025
Merged

Add ::preload() method to enums#2
inxilpro merged 2 commits intomainfrom
feature/preload

Conversation

@inxilpro
Copy link
Contributor

@inxilpro inxilpro commented Sep 5, 2025

This lets you call MyEnum::preload() to preload all the enum values, or MyEnum::preload(1, 2, 3) to preload a specific set of values. It includes a small BC-break, so I'm going to use it as a chance to bump some requirements as well.

@inxilpro inxilpro merged commit 3e573da into main Sep 5, 2025
2 checks passed
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