You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.
A wasm extension implements onConfigure(std::unique_ptr<WasmData> configuration)
If configuration fails, there is no indication that something has gone wrong except a WARN message from the extension itself.
onConfigure() should return a bool
Add a validateConfig(std::unique_ptr<WasmData> configuration) API which is similar to onConfigure
It must do structural validation of the input configuration.
It must be stateless, must be a pure function and must not use the HOST api.
A WASM extension that supports validateConfig can be used outside the proxy as a config validator.
The text was updated successfully, but these errors were encountered:
A wasm extension implements
onConfigure(std::unique_ptr<WasmData> configuration)
If configuration fails, there is no indication that something has gone wrong except a WARN message from the extension itself.
onConfigure()
should return a boolvalidateConfig(std::unique_ptr<WasmData> configuration)
API which is similar toonConfigure
A WASM extension that supports validateConfig can be used outside the proxy as a config validator.
The text was updated successfully, but these errors were encountered: