Skip to content

Changes usage of fields parameter to be json:api spec compliant #904

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

Merged
merged 3 commits into from
Dec 10, 2020

Conversation

bart-degreed
Copy link
Contributor

@bart-degreed bart-degreed commented Dec 9, 2020

Changes the use of fields query string parameter to be json:api spec compliant.

Before we'd accept a relationship path between the square brackets and would only allow attribute names in the value. Now we expect a resource type between square brackets and the value can contain both attributes and relationships.

Based on explanation at https://jsonapi.org/examples/#sparse-fieldsets.

…compliant.

Before we'd accept a relationship path between the square brackets and would only allow attribute names in the value. Now we expect a resource type between square brackets and the value can contain both attributes and relationships.
@bart-degreed bart-degreed requested a review from maurei December 9, 2020 12:51
@maurei maurei merged commit ff99353 into master Dec 10, 2020
@maurei maurei deleted the spec-fieldsets branch December 10, 2020 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants