mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
docs: Document context method in module interface (#18967)
This commit is contained in:
@@ -23,4 +23,10 @@ export class MyFeatureModule implements ModuleInterface {
|
||||
|
||||
return [MyFeatureEntity];
|
||||
}
|
||||
|
||||
async context() {
|
||||
const { MyFeatureService } = await import('./my-feature.service');
|
||||
|
||||
return { myFeatureProxy: Container.get(MyFeatureService) };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user