somakeit / smib

1 stars 0 forks source link

Split out http events into their own decorator #14

Open sam57719 opened 6 months ago

sam57719 commented 6 months ago

Instead of doing @app.event('http_get_open')

It could be

@app.http('open', method='GET')

I think this would be cleaner and would allow the @http_bolt_response decorator to he hidden behind the @app.http

This would make it more consistent with the slack_bolt package and hooks.