We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The jmespath type checker is not complete
For example:
FUNCTIONS.put("sort", new FunctionDefinition(ARRAY, isArray));
The sort function type check is not looking at type of array when the jmespath specification says it should be an array of string or number only.
sort
FUNCTIONS.put("sort_by", new FunctionDefinition(ARRAY, isArray, isType(RuntimeType.EXPRESSION)));
Same for the sort_by function, the expression should only result in a string or number.
sort_by
I see TODO's in there but no issue created to keep track of it. It'd be good to have this completed as it could cause invalid models.
TODO
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The jmespath type checker is not complete
For example:
The
sort
function type check is not looking at type of array when the jmespath specification says it should be an array of string or number only.Same for the
sort_by
function, the expression should only result in a string or number.I see
TODO
's in there but no issue created to keep track of it. It'd be good to have this completed as it could cause invalid models.The text was updated successfully, but these errors were encountered: