Skip to content

Changes to decouple handling functionality from the controller #41

@shmulyeng

Description

@shmulyeng

In using this library, I came across the following two requirements.

1 - Handle all events generically (I'm logging all events sent to the webhook)
2 - Decouple the handling functionality from the controller so that I can call it independently.

I made the coding changes to support this. I also made a change that each handler function can return an Ok or a BadRequest.

Is this something that would be of interest to the public? If yes, I can submit a PR.

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