release
Lucid v22.3.0 Release Adds Transformer Support and CLI Stub Path Option
· Developer impact : medium
The AdonisJS Lucid package released version 22.3.0 introducing support for transformers alongside models and added new CLI flags --contents-from and --transformer to make commands, enhancing scaffolding flexibility.
What this means for your code
Developers using AdonisJS Lucid can now create transformers alongside models using the updated make commands. The new CLI flags allow specifying stub paths and transformer usage, improving customization during scaffolding without breaking existing workflows.
- Use the --transformer flag with make commands to generate transformers alongside models.
- Use the --contents-from flag to specify stub paths from the CLI when scaffolding.
Original sources
AI-generated analysis based on the linked sources. Check the original documentation before changing your application.