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

change mapping for parmeters that take item()* to ValueIterator #478

Closed
dsokolsky opened this issue Mar 30, 2015 · 1 comment
Closed

change mapping for parmeters that take item()* to ValueIterator #478

dsokolsky opened this issue Mar 30, 2015 · 1 comment
Assignees
Labels

Comments

@dsokolsky
Copy link
Contributor

Previously we mapped item()* in a function parameter to Object[] | ValueIterator. We are changing this in 8.0-2 to be just ValueIterator. Mike, can you please change the mappings? This affects a lot of functions (108+ I think).

The following is really a note to myself: I also really need to add a note to all of these parameters (javascript only) saying something like:

If you pass in a single value, it is treated as a ValueIterator with that single item; therefore, if you pass in an array, the function will return the array. If you mean to check the values of each item in the array, then you can call xdmp.arrayValues on the array.

@dsokolsky
Copy link
Contributor Author

I'm calling this done. If there are problems we can file individual bugs.

@dsokolsky dsokolsky removed the test label Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants