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

Fixing reported issue https://github.com/jsonata-js/jsonata/issues/547 #555

Merged
merged 5 commits into from
Jan 6, 2022

Conversation

kexuibm
Copy link
Contributor

@kexuibm kexuibm commented Dec 10, 2021

@andrew-coleman this PR fixes an issue reported in #547 where jsonata 1.8.5 throws an error(Key in object structure must evaluate to a string; got: undefined) when an empty array is passed in.

Signed-off-by: Ke Xu ke.xu@ibm.com

@coveralls
Copy link

coveralls commented Dec 26, 2021

Coverage Status

Coverage remained the same at 100.0% when pulling d30a59b on kexuibm:issue-547 into e6e436d on jsonata-js:master.

@kexuibm
Copy link
Contributor Author

kexuibm commented Jan 4, 2022

Per request from @andrew-coleman, I added unit test coverage for the defect fix.

test/implementation-tests.js Outdated Show resolved Hide resolved
src/jsonata.js Outdated Show resolved Hide resolved
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.

3 participants