Hello and thanks for this wonderful tool.
I looked around for a function that can convert a string_with_underscores to a camelCase format stringWithUnderscores, but I cannot seem to find such a function.
Is there such a function? How easy it would be to submit a pr to add it?
Why, you'd ask?
Because if field name have a prefix (personal_computer_model, personal_computer_ram, etc) matching the catalog name (personal_computer), then when auto-generating an entity, there's no need to have the properties named:
personalComputerModel
personalComputerRam
but rather, just:
model
ram
and the class would be named: personalComputer.
Makes sense? :)
Hello and thanks for this wonderful tool.
I looked around for a function that can convert a
string_with_underscoresto a camelCase formatstringWithUnderscores, but I cannot seem to find such a function.Is there such a function? How easy it would be to submit a pr to add it?
Why, you'd ask?
Because if field name have a prefix (
personal_computer_model,personal_computer_ram, etc) matching the catalog name (personal_computer), then when auto-generating an entity, there's no need to have the properties named:personalComputerModelpersonalComputerRambut rather, just:
modelramand the class would be named:
personalComputer.Makes sense? :)