Skip to content
New issue

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

$eval() - array inputs should be wrapped #482

Merged
merged 1 commit into from
Oct 23, 2020
Merged

$eval() - array inputs should be wrapped #482

merged 1 commit into from
Oct 23, 2020

Conversation

andrew-coleman
Copy link
Member

The logic for handling the second parameter to this function should be the same as for handling the input to any expression.
This includes wrapping a top level array input in a singleton sequence so it gets treated as a single input.
This code was missing from this function and is added here.

resolves #463

Signed-off-by: andrew-coleman [email protected]

The logic for handling the second parameter to this function should be the same as for handling the input to any expression.
This includes wrapping a top level array input in a singleton sequence so it gets treated as a single input.
This code was missing from this function and is added here.

Signed-off-by: andrew-coleman <[email protected]>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 00f3ebe on eval_fix into 27724d9 on master.

@mattbaileyuk mattbaileyuk merged commit ca3070f into master Oct 23, 2020
@mattbaileyuk mattbaileyuk deleted the eval_fix branch October 23, 2020 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$eval returns empty object if the context value is an empty array
3 participants