mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
re-enable the tests in the parser and start the creation of an error type
This commit is contained in:
@ -93,7 +93,7 @@ impl<'a> Filter<'a> {
|
||||
let condition = match FilterCondition::parse::<GreedyError<Span, ErrorKind>>(expression) {
|
||||
Ok(fc) => Ok(fc),
|
||||
Err(e) => Err(Error::UserError(UserError::InvalidFilter {
|
||||
input: convert_error(Span::new(expression), e).to_string(),
|
||||
input: convert_error(Span::new_extra(expression, expression), e).to_string(),
|
||||
})),
|
||||
}?;
|
||||
Ok(Self { condition })
|
||||
|
Reference in New Issue
Block a user