-
Notifications
You must be signed in to change notification settings - Fork 838
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
The implementation of #1208 is different from the node-slack-sdk version #1302
Comments
I was just looking at this as well! This warning used to be suppressed properly; it would be nice to get this fixed. FWIW, I tested your proposed code change and the warning went away. 👍 |
Hi @mar3mar3! Thank you for writing this in and sharing your implementation for a fix! This is definitely something we'll want to patch in a future release. If you'd want to make a PR with your changes, that'd be welcomed! Otherwise, we'll work on fixing this soon! |
@mar3mar3 Thanks for flagging this! The initial implementation across three bolt frameworks were consistent but recently Node SDK code has been improved by slackapi/node-slack-sdk#1529. However, we haven't updated Python and Java SDKs. If you are fine to use your time more on this, your pull request would be greatly appreciated. Otherwise, I will resolve it quickly later on. |
I made #1303. |
…with Node SDK (#1303) Co-authored-by: Kazuhiro Sera <seratch@gmail.com>
Original specification in node-slack-sdk
slackapi/node-slack-sdk#1476 (comment)
The implementation of the pull request created with reference to the above was different.
#1208
The following condition in node-slack-sdk is different.
Even if there is no top-level
text
, the warning is not displayed if there is afallback
in all attachments.https://github.com/slackapi/node-slack-sdk/blob/bcbe7cc8753a134d73daf88ac66eec0f359c2df7/packages/web-api/src/WebClient.ts#L868
Reproducible in:
The Slack SDK version
slack-sdk==3.19.2
Python runtime version
Python 3.11.0
OS info
ProductName: macOS
ProductVersion: 12.6
BuildVersion: 21G115
Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64
Steps to reproduce:
For example...
Expected result:
No warnings are displayed.
Actual result:
The following warning is displayed.
maybe...
the following implementation?
The text was updated successfully, but these errors were encountered: