Fix non-snake case conversion to pascal case#456
Conversation
|
Cool, thanks for this - my initial question was going to be whether we can avoid generating these hybrid case python function names like I think this seems reasonable, partly curious what @emillma thinks for whether it'd be more reasonable for Caspar to handle this somewhere else instead |
|
I'm pretty sure Caspar could handle stuff better, but I'm afraid you will end up breaking some conventions no matter what you do. We are generating names for C++ and Python where certain names are partially used for both class names, function names and variables 🍝 If this fix solves it I think it might be a good enough solution for now. |
|
In the future it might be a good idea to add a strict keyword argument, to make the conversation only support names that follow the expected convention. |
|
Makes sense, thanks |
Closes #455