-
Notifications
You must be signed in to change notification settings - Fork 144
Make hashmap keys required unless the key is an enum #446
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
base: next
Are you sure you want to change the base?
Conversation
|
Thanks for opening the PR! For context, here's the history of our bindings for hashmaps:
|
|
I thought about this more deeply in the meantime:
|
I propose configuration like this to be done with feature flags 🙏🏽 |
Feature flags are convenient, but not the right tool for this, since they need to be additive. |
|
Hey @NyxCode, what would you want this env variable to look like? By that I mean, do you want a bool that if set to true reverts back to the previous behavior? The other way around? Or something else entirely? Also, Merry Christmas! Hope you're doing great! Cheers |

Goal
Remove optional key from hashmaps unless the key type is an enum
Closes #442
Closes #374
Changes
Added new const to
TStrait that determines whether or not a type should have a?when used as a hashmap keyChecklist