From 22a6ae7dbb751ee35f719cfcaf3ca80c8aaab6e6 Mon Sep 17 00:00:00 2001 From: slhx agent Date: Tue, 2 Jun 2026 02:23:49 +0200 Subject: [PATCH] test(examples): forbid literal handle field posts Extend canonical example contracts to catch raw __h= request bodies in tests and docs, keeping examples on the axum handle-field constant and generated handles. req: dx/003 req: examples/003 --- slhx-test/tests/examples_contract.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/slhx-test/tests/examples_contract.rs b/slhx-test/tests/examples_contract.rs index 76955f4..fba7621 100644 --- a/slhx-test/tests/examples_contract.rs +++ b/slhx-test/tests/examples_contract.rs @@ -68,6 +68,7 @@ fn canonical_examples_do_not_author_low_level_resource_plumbing() { "register_handle(", "RenderSlotExt", ".render(&", + "__h=", "name=\"__h\"", "name='__h'", ];