Skip to content

Reflect missing behaviours on map in docs #753

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

Merged
merged 2 commits into from
Jul 24, 2025

Conversation

AndrewLipscomb
Copy link
Contributor

#462 and #708 both reflect seemingly unexpected behaviour in how map works.

At the very least - the current behaviour has been in there for several versions now and is completely undocumented. This heavily throws new-time readers and AI tools parsing the docs.

This is my 5 min attempt to alleviate that issue.

I am unsure on whether undefined is the right term for the empty array case - potentially that needs correcting. But regardless - something is better than nothing!

Copy link
Member

@mattbaileyuk mattbaileyuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvement

@mattbaileyuk mattbaileyuk merged commit 087d633 into jsonata-js:master Jul 24, 2025
8 checks passed
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.

2 participants