export async function POST(ctx: { req: Request }): Promise<Response> {
  const handler = (globalThis as any).__wrnexusGraphqlHandler;
  if (typeof handler !== "function")
    return new Response("GraphQL is not configured", { status: 503 });
  return handler(ctx.req);
}
