Fix #769 A new option to auto-acknowledge Events API requests#820
Conversation
Codecov Report
@@ Coverage Diff @@
## main #820 +/- ##
============================================
- Coverage 77.23% 77.20% -0.03%
- Complexity 3439 3441 +2
============================================
Files 384 384
Lines 10322 10332 +10
Branches 1004 1008 +4
============================================
+ Hits 7972 7977 +5
- Misses 1764 1766 +2
- Partials 586 589 +3
Continue to review full report at Codecov.
|
|
We just released v1.11.0-RC1, which includes this pull request changes. Anyone can try the functionality with the version. https://search.maven.org/artifact/com.slack.api/bolt/1.11.0-RC1/jar |
|
To: reviewers, let me know if you have any comments like naming suggestions 👋 I'm thinking to release the next version by the end of this week. |
Co-authored-by: Fil Maj <maj.fil@gmail.com>
This pull request resolves #769 by adding the following new two options.
AppConfig#allEventsApiAutoAckEnabled: Boolean: If true, Bolt enables auto-acknowledging for all Events API requests even when corresponding listeners are missing.AppConfig#subtypedMessageEventsAutoAckEnabled: Boolean: If true, Bolt enables auto-acknowledging for message + subtype Events API requests even when corresponding listeners are missing.As the test code shows, registered listeners are used even if these options are true.
Category (place an
xin each of the[ ])Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to the those rules.