Skip to content

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

Merged
dgeb merged 2 commits into
mainfrom
fix-jsonapi
Jul 16, 2021
Merged

Ensure JSONAPISource query and update return arrays to match array requests#867
dgeb merged 2 commits into
mainfrom
fix-jsonapi

Conversation

@dgeb

@dgeb dgeb commented Jul 16, 2021

Copy link
Copy Markdown
Member

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.

@dgeb dgeb added the bug label Jul 16, 2021
@dgeb
dgeb merged commit 2c4bf70 into main Jul 16, 2021
@dgeb
dgeb deleted the fix-jsonapi branch July 16, 2021 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant