How to serialize related fields as camelCase in Adonis.JS V5
Hey there! This will be a short post about a small thing that I encountered while using Adonis.js V5 The thing is that the default naming strategy serializes everything but related models as camelCase. To have EVERYTHING serialized as camelCase do the following: 1. Create the ‘CamelCaseNamingStrategy.ts’ file Then, once you’ve done that, register that …
How to serialize related fields as camelCase in Adonis.JS V5 Read More »