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

Add a 'submitFollow' method #481

Open
gregoire-rouillon opened this issue Sep 12, 2023 · 0 comments · May be fixed by #484
Open

Add a 'submitFollow' method #481

gregoire-rouillon opened this issue Sep 12, 2023 · 0 comments · May be fixed by #484

Comments

@gregoire-rouillon
Copy link

Hello,

When I submit an action that returns a 201 http code, I often need to follow the Location header to retrieve the new state.
Don't you think it would be nice, to add a submitFollow() method on Action ?

So I could write :

const createdUser = await users.action('create').submitFollow({});
@reda-alaoui reda-alaoui linked a pull request Nov 14, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant