Replies: 1 comment 1 reply
-
I'm migrating a considerably large application (+- 300 files) to v6 and I'm stuck with this problem (among many others)... have you found any solution other than refactoring all the places where the macro is used? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋,
Description
In Adonis v5, the DatabaseQueryBuilder can be macroable by following the instructions
I want to do this in Adonis v6 but there are no longer any instructions in the Adonis/Lucid documentation. So I reproduce the same logic as Vine customization but I have a typescript error :
DatabaseQueryBuilder is still macroable?
pnpm list "@adonisjs/*"
dependencies:
@adonisjs/auth 9.2.3
@adonisjs/bouncer 3.1.3
@adonisjs/core 6.12.1
@adonisjs/cors 2.2.1
@adonisjs/drive 3.2.0
@adonisjs/lucid 21.1.0
@adonisjs/session 7.5.0
devDependencies:
@adonisjs/assembler 7.7.0
@adonisjs/eslint-config 1.3.0
@adonisjs/prettier-config 1.3.0
@adonisjs/tsconfig 1.3.0
Reproduce
Thanks 😊
Beta Was this translation helpful? Give feedback.
All reactions