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

Function plainHandler

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

Source from the content-addressed store, hash-verified

3988 // nestedRoutes not enabled
3989 });
3990 const plainHandler = (args: any) =>
3991 api.handleRequest({ ...args, url: new URL(`http://localhost/${args.path}`) });
3992
3993 await nestedClient.user.create({ data: { id: 'u1', email: 'u1@test.com' } });
3994 const post = await nestedClient.post.create({

Callers 1

rest.test.tsFile · 0.85

Calls 1

handleRequestMethod · 0.65

Tested by

no test coverage detected