MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / mappedHandler

Function mappedHandler

packages/server/test/api/rest.test.ts:4051–4052  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

4049 nestedRoutes: true,
4050 });
4051 const mappedHandler = (args: any) =>
4052 mappedApi.handleRequest({ ...args, url: new URL(`http://localhost/${args.path}`) });
4053
4054 await nestedClient.user.create({
4055 data: {

Callers 1

rest.test.tsFile · 0.85

Calls 1

handleRequestMethod · 0.65

Tested by

no test coverage detected