feat: allow context access in liquidMethodMissing, #808 (#820)

This commit is contained in:
Yang Jun
2025-10-06 18:34:08 +08:00
committed by GitHub
parent e8e502c585
commit e55128850e
3 changed files with 45 additions and 31 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
import { Context } from '../context'
export abstract class Drop {
public liquidMethodMissing (key: string | number): Promise<any> | any {
public liquidMethodMissing (key: string | number, context: Context): Promise<any> | any {
return undefined
}
}