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
This commit is contained in:
slhx agent
2026-06-02 02:23:49 +02:00
parent 4673580a71
commit 22a6ae7dbb
+1
View File
@@ -68,6 +68,7 @@ fn canonical_examples_do_not_author_low_level_resource_plumbing() {
"register_handle(", "register_handle(",
"RenderSlotExt", "RenderSlotExt",
".render(&", ".render(&",
"__h=",
"name=\"__h\"", "name=\"__h\"",
"name='__h'", "name='__h'",
]; ];