import typia from "typia";

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

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