orbitjs / orbit

Composable data framework for ambitious web applications.
https://orbitjs.com
MIT License
2.33k stars 133 forks source link

Ensure JSONAPISource query and update return arrays to match array requests #867

Closed dgeb closed 3 years ago

dgeb commented 3 years ago

Fixes an inconsistency in which JSONAPISource wasn't fully respecting the change introduced in #855.

Now, query will return an array of results when passed an array of expressions that contains a single expression. Likewise, transform will also return an array of results when passed an array of operations that contains a single operation.