Skip to content

Deprecate decode eventΒ #56

@SassNinja

Description

@SassNinja

@olefirenko as I can see you've introduced the result event in #43 and kept the decode event to avoid a breaking change

However the README only shows usage of @decode which encourages people to still use it. I'd recommend to remove it entirely and only show the usage of @result. Going one step further could be an actual deprecation warning when using decode so that you might delete it in future.

Another thing I've noticed is you started describing the shape of the result

The result is the object with the following properties:

However this isn't finished since nothing follows the colon. I think it would be helpful to finish this πŸ˜‰

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions