MCPcopy
hub / github.com/nestjs/nest / createProxy

Method createProxy

packages/core/nest-factory.ts:263–269  ·  view source on GitHub ↗
(target: any)

Source from the content-addressed store, hash-verified

261 }
262
263 private createProxy(target: any) {
264 const proxy = this.createExceptionProxy();
265 return new Proxy(target, {
266 get: proxy,
267 set: proxy,
268 });
269 }
270
271 private createExceptionProxy() {
272 return (receiver: Record<string, any>, prop: string) => {

Callers 1

createNestInstanceMethod · 0.95

Calls 1

createExceptionProxyMethod · 0.95

Tested by

no test coverage detected