ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.
Ever wanted to convert snake case to camel case?
You can use
Macro module for that. Except it should not be used this way. As it states itself:
Do not use it as a general mechanism for underscoring or camelizing strings as it does not support Unicode or characters that are not valid in Elixir identifiers.
recase it is easy and reliable:
Recase.to_camel("some_value") # => "someValue"
recase also supports:
Check it out: https://github.com/sobolevn/recase
Read next Getting Started With Phoenix v1.3.0