import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_http_assertQuery } from "../../internal/_test_http_assertQuery";
import { ObjectHttpArray } from "../../structures/ObjectHttpArray";

export const test_http_assertQueryCustom_ObjectHttpArray =
  _test_http_assertQuery(CustomGuardError)("ObjectHttpArray")<ObjectHttpArray>(
    ObjectHttpArray,
  )((input) =>
    typia.http.assertQuery<ObjectHttpArray>(
      input,
      (p) => new CustomGuardError(p),
    ),
  );
