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

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

Merged
merged 2 commits into from Jul 16, 2021

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Jul 16, 2021

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.

None yet

1 participant