Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get requestContext() {
if (!this[rc]) {
this[rc] = new MidwayRequestContainer(this.app.applicationContext, this);
this[rc].ready();
}
return this[rc];
},
};
getContext(context) {
if (!context.requestContext) {
context.requestContext = new MidwayRequestContainer(
this.loader.getApplicationContext(),
context
);
}
return context;
}
}