Closed craftslab closed 9 months ago
Please check parser.rs @AmrDeveloper
// Check if current token kind is WHEN keyword`
let when_result = consume_kind(tokens, *position, TokenKind::When);
if when_result.is_err() {
return Err(Diagnostic::error("Expect `when` before case condition")
.add_help("Try to add `WHEN` keyword before any condition")
.with_location(get_safe_location(tokens, *position))
.as_boxed());
}
Hello @craftslab,
Thank you for reporting,i fixed it and docs is correct no
Thank you, Amr
Describe the bug
Incorrect statement for CASE in documentation
To Reproduce
Expected behavior
GQL (please complete the following information):
Version 0.13.0
Screenshots