Skip to content

Conversation

@algorhythm
Copy link

When calling create() outside of the processPostData() method (analog to processBodyContent()) we can override the method to change the behaviour of parsing POST-Params and also getting the result back and not the response of the action. All other cases GET, PUT, PATCH and DELETE also calls their similar method in directly in the onDispatch() method.

These changes doesn't infect the workflow. It's just a small code optimization.

Xerkus and others added 12 commits May 3, 2020 17:25
Signed-off-by: Aleksei Khudiakov <[email protected]>
Signed-off-by: Aleksei Khudiakov <[email protected]>
Signed-off-by: Aleksei Khudiakov <[email protected]>
Signed-off-by: Aleksei Khudiakov <[email protected]>
When calling `create()` outside of the `processPostData()` method (analog to `processBodyContent`) we can override the method to change the behaviour of parsing POST-Params and also getting the result back and not the response of the action. All other cases `GET`, `PUT`, `PATCH` and `DELETE` also calls their similar method in directly in the `onDispatch()` method.

These changes doesn't infect the workflow. It's just a small code optimization.

Signed-off-by: Martin Seysen <[email protected]>
@weierophinney
Copy link
Member

While I think this is a good change, it's also a BC break, as it changes the behavior of the processPostData() method.

@weierophinney weierophinney added this to the 4.0.0 milestone Apr 23, 2021
@weierophinney weierophinney requested a review from Xerkus April 23, 2021 14:06
@Ocramius Ocramius self-assigned this Feb 24, 2022
@Ocramius Ocramius added the Invalid This doesn't seem right label Feb 24, 2022
@Ocramius Ocramius removed this from the 4.0.0 milestone Feb 24, 2022
@Ocramius Ocramius closed this Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BC Break Invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants