SR035
Severity: error
Summary: controller hook uses ‘wasm:’ prefix but provides no path
What this means
A controller hook name starts with wasm: but no file path follows the prefix. The wasm: prefix tells Shaperail to load a WebAssembly plugin rather than a native Rust function, and it requires a path to the .wasm file.
Example that triggers this
endpoints:
create:
input: [name]
controller: { before: "wasm:" }
How to fix it
Provide a .wasm file path after the wasm: prefix:
controller: { before: "wasm:./plugins/validator.wasm" }