-
Notifications
You must be signed in to change notification settings - Fork 651
Add ability to wrap response in an envelope #628
Conversation
|
@WP-API/amigos #reviewmerge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hate all of these magic request arguments. There's no better way to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this as a bit of a impossible argument - how do you expect to specify something in a space where anyone can specify anything and eradicate the possibility of conflicts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed; we have a finite space here to operate in. Let's break this to another discussion (#634).
|
We can take the magic request arguments to another discussion, but this should have tests. |
|
Good point on the tests, will do. |
|
Tests added, let's go-go-go @WP-API/amigos. |
|
Good first pass at #679 |
Add ability to wrap response in an envelope
Updates #507 from @Japh for 2.0.
Fixes #370.