You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the start_path specificed by $.not_exist. If the JsonbPath::seek function is correct, then the unit test throws an exception, but it does not. I found through debugging that it does not return false in this logic:
std::string root_path_str = "$";
if (!start_null_check(i)) {
root_path_str = get_start_string(i);
}
JsonbPath root_path;
if (!root_path.seek(root_path_str.c_str(), root_path_str.size())) {
returnStatus::InvalidArgument(
"the start_path argument {} is not a valid json path", root_path_str);
}
In the above code, root_path.seek should return false.
What You Expected?
I think it may be that seek's implementation or third-party libraries are not yet supported, and we need manual support.
Search before asking
Version
Commit:
12e774bfd2
What's Wrong?
While I was supporting extra arguments for the json_search function, I wrote the following unit test:
the
start_path
specificed by$.not_exist
. If theJsonbPath::seek
function is correct, then the unit test throws an exception, but it does not. I found through debugging that it does not returnfalse
in this logic:In the above code,
root_path.seek
should returnfalse
.What You Expected?
I think it may be that seek's implementation or third-party libraries are not yet supported, and we need manual support.
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: