spatial icon indicating copy to clipboard operation
spatial copied to clipboard

allow `queryLayers` to be array-like

Open missinglink opened this issue 3 months ago • 0 comments

This line should be rewritten in such a way that it accepts any input which is 'array-like' (ie. can be destructured with the spread operator) such that either an array or a set may be passed in.

I believe the only thing currently preventing that is the check for .size

https://github.com/pelias/spatial/blob/dec83175963fc8b632cfd97051f3f15fcbf7f975/server/routes/pip_pelias.js#L63

missinglink avatar Oct 03 '25 16:10 missinglink