import { QueryParam } from "https://deno.land/x/mandarinets@v2.3.2/mod.ts";
Decorator
Injects the value from the query parameters of a request.
@QueryParam(name?) Target: Method parameter
name should be equal to the route param key, ex. /getUser?id=123 => @QueryParam('id') If name is ignored, it will take the parameter's name as the value