MCPcopy Index your code
hub / github.com/ParallelTask/dinoloop / addParse

Method addParse

tests/integration/query.param.spec.ts:45–58  ·  view source on GitHub ↗
(
        @Parse(() => 'test_body') body: any,
        @Parse(() => 'test_user') user: string,
        id: string,
        @QueryParam() price: string,
        @QueryParam(toBoolean) old: boolean)

Source from the content-addressed store, hash-verified

43 }
44 @HttpPost('/add/:user/:id')
45 addParse(
46 @Parse(() => 'test_body') body: any,
47 @Parse(() => 'test_user') user: string,
48 id: string,
49 @QueryParam() price: string,
50 @QueryParam(toBoolean) old: boolean): any {
51 return {
52 body: body,
53 user: user,
54 id: id,
55 price: price,
56 old: old
57 };
58 }
59}
60describe('query.param.e2e.spec', () => {
61 const baseRoute = '/api/test';

Callers

nothing calls this directly

Calls 2

ParseFunction · 0.85
QueryParamFunction · 0.85

Tested by

no test coverage detected