Top-level null filter now evaluates to true (#277)

This commit is contained in:
Erica Fischer
2024-10-02 15:19:30 -07:00
committed by GitHub
parent 23c6559b03
commit 8409bf9ce4
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ static int eval(std::function<mvt_value(std::string const &)> feature, json_obje
} else if (f->type == JSON_FALSE) {
return 0;
} else if (f->type == JSON_NULL) {
return -1;
return 1;
}
if (f->type == JSON_NUMBER) {