Your AdonisJS ecosystem, in the loop.
All insights
release

Custom schema rules correctly override default decorators in Lucid

· Developer impact : medium

In AdonisJS Lucid v22.4.2, a bug was fixed where custom schema rules did not properly override default decorators due to improper merging logic. This fix ensures that user-defined decorators replace default ones instead of being concatenated or ignored.

What this means for your code

Developers using custom schema rules in Lucid will now see their decorators correctly applied without interference from default decorators. No migration or code changes are required, but the behavior is now more predictable and correct.

  • Update @adonisjs/lucid to v22.4.2 to benefit from the fix

Original sources

AI-generated analysis based on the linked sources. Check the original documentation before changing your application.

Independent ecosystem watch. Sources linked in every insight.Built with AdonisJS · AI-assisted summariesBy Jérémy Chaufourier · chaufourier.fr