Skip to content
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

Support for explicit POST method #16

Open
bhoomit opened this issue Jun 14, 2016 · 3 comments
Open

Support for explicit POST method #16

bhoomit opened this issue Jun 14, 2016 · 3 comments

Comments

@bhoomit
Copy link
Contributor

bhoomit commented Jun 14, 2016

Right now to post something one has to call actionCreator.create.

If I want to use http POST for some other call. I can't.

In my opinion there should be one custom method parallel to list/retrieve/create/update for such cases.

@bhoomit
Copy link
Contributor Author

bhoomit commented Jul 27, 2016

What do you think about this feature? Do you think its important? I've added it to my fork. I can send a PR.

@mallison
Copy link
Contributor

Can you give the use case for this? It's common to have extra actions that
don't quite fit REST. Eg. /users/:id/set_password -- is that the kind of
thing you mean? Being able to configure such extra actions could be useful.

It's probable the API needs to change to expose the state so that you can
have extra actions and reducers as required. redux-rest's purpose is to
handle the common case but it should be able to integrate with existing
store/actions/reducers.

On 27 July 2016 at 09:27, Bhoomit [email protected] wrote:

What do you think about this feature? Do you think its important? I've
added it to my fork. I can send a PR.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#16 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQO4HubX_umSWa4up4m4yu-0bvpAIDqks5qZxZxgaJpZM4I1EQg
.

@bhoomit
Copy link
Contributor Author

bhoomit commented Aug 2, 2016

Yes, I'm talking about same kind of use cases. Most of my application uses redux-rest, I want to change method for a couple of API calls only. Should I send PR?

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

No branches or pull requests

2 participants