-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/validation #84
base: main
Are you sure you want to change the base?
Conversation
|
||
const UNICODE_NUL_STR: &str = "\u{0}"; | ||
const UNICODE_T_CHAR: &str = "\u{0}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is null, not a T…
))), | ||
}; | ||
}, | ||
Err(_) => return Err(wasm_error!(WasmErrorInner::Guest("LinkTag format error".to_string()))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Err(_) => return Err(wasm_error!(WasmErrorInner::Guest("LinkTag format error".to_string()))), | |
Err(_) => return Err(wasm_error!("LinkTag format error: {}", e)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where e is the original error
Co-authored-by: Zeek <zkringlwe@gmail.com>
Co-authored-by: Harlan T Wood <harlan@superluminal.is>
Co-authored-by: Zeek <zkringlwe@gmail.com>
Co-authored-by: Zeek <zkringlwe@gmail.com>
Co-authored-by: Zeek <zkringlwe@gmail.com>
8b4b274
to
f8e5f46
Compare
validation for RegisterCreateLink and RegisterDeleteLink
?TODO:
OpType -> FlatOP
op.to_type() -> op.flattened()
need to fix operations for checking leading LinkTag bytes (T + arrow symbol)