Skip to content

Bitcraft request: allow using enums as index keys #2368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bfops opened this issue Mar 7, 2025 · 1 comment · Fixed by #2506
Closed

Bitcraft request: allow using enums as index keys #2368

bfops opened this issue Mar 7, 2025 · 1 comment · Fixed by #2506
Assignees

Comments

@bfops
Copy link
Collaborator

bfops commented Mar 7, 2025

The ability to use enums as index keys was removed before 1.0, we would like to add it back soon but this may require some design.

cc @jdetter

@gefjon
Copy link
Contributor

gefjon commented Mar 13, 2025

  • We want specifically to allow "c-style" or "simple" enums, i.e. those where all variants are unit.
  • We want to support filtering by these values in all of Rust, C# and TypeScript both in servers and clients.

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 a pull request may close this issue.

3 participants