test(examples): forbid legacy lowering helpers
Extend the example contract to keep canonical runtime code on generated render/static_fragment APIs instead of lower_html/render_html aliases or inline include_str lowering. req: dx/006 req: ceremony/002 req: component/003
This commit is contained in:
@@ -60,6 +60,9 @@ fn canonical_examples_do_not_author_low_level_resource_plumbing() {
|
||||
"data-slot-id",
|
||||
"data-form-id",
|
||||
"data-atom-id",
|
||||
"::lower(include_str!",
|
||||
"lower_html(",
|
||||
"render_html(",
|
||||
];
|
||||
let mut failures = Vec::new();
|
||||
scan_examples(&examples, &mut |path, text| {
|
||||
|
||||
Reference in New Issue
Block a user