Handle all base spec requests as a single operation#845
Handle all base spec requests as a single operation#845dgeb merged 1 commit intoJSONAPI-Resources:masterfrom
Conversation
ddb860f to
6caaf44
Compare
| @@ -13,7 +13,7 @@ class Processor | |||
| :replace_polymorphic_to_one_relationship, | |||
| :create_to_many_relationship, | |||
| :replace_to_many_relationship, | |||
There was a problem hiding this comment.
Seems like replace_to_many_relationship should now be replace_to_many_relationships and create_to_many_relationship should now be create_to_many_relationships for consistency.
There was a problem hiding this comment.
Good point. Fixed.
Getting ready for multiple operation support in requests (cherry picked from commit ff8b0c9)
6caaf44 to
78e3560
Compare
|
Ooh, interesting! I guess this'll break I didn't quite get what you meant with this:
Was this something like sending an array of objects in POST payload (i.e. |
|
@valscion Yes, it used to accept an array of objects in the payload. That was a feature from before the JSON API spec was finalized and I missed removing it. Sorry about the churn breaking |
|
No worries, we've got our specs on the nice reques layer so upgrading is quite easy. I'm really looking forward to new operations support, our app would benefit from them :) |
Getting ready for multiple operation support in requests
Also removes the feature of creating and modifying multiple resources as this is not compatible with final version of the JSON API spec.