Skip to content

Add a 'submitFollow' method #481

@gregoire-rouillon

Description

@gregoire-rouillon

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({});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions