This repository includes an example of how to change the default serialization naming strategy for AdonisJS from snake_case
to camelCase
.
https://jagr.co/lessons/how-to-serialize-all-adonisjs-lucid-models-properties-as-camel-case
https://www.youtube.com/watch?v=OAzvVHnsU8M
You can find the naming strategy at App/Strategies/CamelCaseNamingStrategy.ts
.
It's being applied to all models via our AppBaseModel
at App/Models/AppBaseModel.ts
.