Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #721 Passing a global dict object without channel prop can cause issues among requests #722

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

seratch
Copy link
Member

@seratch seratch commented Sep 20, 2022

This pull request resolves #721

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.15.0 milestone Sep 20, 2022
@seratch seratch self-assigned this Sep 20, 2022
@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Merging #722 (64d854a) into main (2100249) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #722   +/-   ##
=======================================
  Coverage   92.05%   92.05%           
=======================================
  Files         172      172           
  Lines        5865     5867    +2     
=======================================
+ Hits         5399     5401    +2     
  Misses        466      466           
Impacted Files Coverage Δ
slack_bolt/context/say/async_say.py 96.15% <100.00%> (+0.15%) ⬆️
slack_bolt/context/say/say.py 96.15% <100.00%> (+0.15%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@WilliamBergamin WilliamBergamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me :shipit: could we have used a shallow copy?

@seratch
Copy link
Member Author

seratch commented Sep 20, 2022

@WilliamBergamin Thanks for your review! Indeed, using a shallow copy works as of today but for safety with any future changes, I prefer a deep copy this time.

@seratch seratch merged commit 430d735 into slackapi:main Sep 20, 2022
@seratch seratch deleted the issue-721-say branch September 20, 2022 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passing a global dict object without channel prop can cause issues among requests
2 participants