Skip to content
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

Switch to snake_case #430

Open
splatteredbits opened this issue Sep 25, 2024 · 1 comment
Open

Switch to snake_case #430

splatteredbits opened this issue Sep 25, 2024 · 1 comment

Comments

@splatteredbits
Copy link
Member

Rename all tasks to snake_case. Add backwards-compatible aliases.

To add support for properties, pass property names as-is to any TaskParameter hashtables. Convert any snake_case properties to SnakeCase and check if the function has a parameter with that name. If it does, pass the property value to that parameter.

Allow support for built-in properties to be passed either CamelCase or snake_case.

Should we warn if someone uses CamelCase?

@splatteredbits
Copy link
Member Author

Started work on the feature/snake_case branch. More involved than I thought.

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

No branches or pull requests

1 participant