Skip to content

Relationship update via POST not supported #430

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

Closed
wisepotato opened this issue Oct 16, 2018 · 3 comments
Closed

Relationship update via POST not supported #430

wisepotato opened this issue Oct 16, 2018 · 3 comments

Comments

@wisepotato
Copy link
Contributor

Description

Should be able to POST to a relationship to add to it, instead of using PATCH to replace the relationship entirely.

spec: https://jsonapi.org/format/#crud-updating-relationships

Environment

  • JsonApiDotNetCore Version: latest
  • Other Relevant Package Versions:
@wisepotato
Copy link
Contributor Author

I have added a pull request with test for you to check out

@jaredcnance
Copy link
Contributor

Thanks for the PR! Will review it this week but it probably won't make the v3 release. May do a quick 3.1 follower with this.

Anyways, closing this issue as a duplicate of #353.

@wisepotato
Copy link
Contributor Author

Yeah thought as much, i'll use the PATCH in the meantime. Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants