This commit is contained in:
Guillaume Mourier
2022-10-28 18:22:26 +02:00
committed by Louis Dureuil
parent 426d63b01b
commit 65a3086cf1
3 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ impl FromStr for Member {
Ok(Member::Geo([lat, lng]))
}
None => {
if is_reserved_keyword(text) || text.starts_with("_geoRadius(") {
if is_reserved_keyword(text) || text.starts_with("_geoRadius(") || text.starts_with("_geoBoundingBox(") {
return Err(AscDescError::ReservedKeyword { name: text.to_string() })?;
}
Ok(Member::Field(text.to_string()))