text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  var index_1 = require("../index");
  /**
   * Injects all request's query parameters to the controller action parameter.
   * Must be applied on a controller action parameter.
   */
  function QueryParams(options) {
      return function (object, methodName, index) {
          index_1.getMetadataArgsStorage().params.push({
              type: "queries",
              object: object,
              method: methodName,
              index: index,
              name: "",
              parse: options ? options.parse : false,
              required: options ? options.required : undefined,
              classTransform: options ? options.transform : undefined,
              explicitType: options ? options.type : undefined,
              validate: options ? options.validate : undefined,
          });
      };
  }
  exports.QueryParams = QueryParams;
  //# sourceMappingURL=QueryParams.js.map