Skip to content

Fix #174 by enabling to use instance/class methods for listeners/middleware - #192

Merged
seratch merged 1 commit into
slackapi:mainfrom
seratch:issue-174-methods-in-class
Jan 8, 2021
Merged

Fix #174 by enabling to use instance/class methods for listeners/middleware#192
seratch merged 1 commit into
slackapi:mainfrom
seratch:issue-174-methods-in-class

Conversation

@seratch

@seratch seratch commented Jan 5, 2021

Copy link
Copy Markdown
Contributor

Thanks to pull request #191 , finally I am coming up with a solution for #174. This pull request fixes #174 by enabling developers to use instance/class methods for middleware/listeners.

Category (place an x in each of the [ ])

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements (place an x in each [ ])

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes.

@seratch seratch added this to the 1.2.0 milestone Jan 5, 2021
@seratch seratch self-assigned this Jan 5, 2021
@codecov

codecov Bot commented Jan 5, 2021

Copy link
Copy Markdown

Codecov Report

Merging #192 (8227df7) into main (03fdd85) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   92.15%   92.18%   +0.03%     
==========================================
  Files         149      149              
  Lines        4448     4466      +18     
==========================================
+ Hits         4099     4117      +18     
  Misses        349      349              
Impacted Files Coverage Δ
slack_bolt/kwargs_injection/async_utils.py 90.32% <100.00%> (+3.36%) ⬆️
slack_bolt/kwargs_injection/utils.py 90.32% <100.00%> (+3.36%) ⬆️
slack_bolt/logger/messages.py 88.88% <100.00%> (+0.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03fdd85...8227df7. Read the comment docs.

…leware

Co-authored-by: Yang Liu <liuyangc3@gmail.com>
@seratch
seratch merged commit 899ce76 into slackapi:main Jan 8, 2021
@seratch
seratch deleted the issue-174-methods-in-class branch January 8, 2021 10:10
seratch added a commit that referenced this pull request Jan 12, 2021
seratch added a commit that referenced this pull request Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable to use instance/class methods for listeners

1 participant