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

Changed type of created on UsersConversationsResponse #1252

Conversation

swaters-atlassian
Copy link
Contributor

Summary

For the users.conversations response the type on the Channel object was set to string. This type is number on all other channel response types and I confirmed that we do get a number back from the API.

Requirements (place an x in each [ ])

* Type was set to string, but it's actually a number
@gitwave gitwave bot added the untriaged label Jun 2, 2021
@CLAassistant
Copy link

CLAassistant commented Jun 2, 2021

CLA assistant check
All committers have signed the CLA.

@seratch seratch added area:typescript issues that specifically impact using the package from typescript projects bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented pkg:web-api applies to `@slack/web-api` semver:patch and removed untriaged labels Jun 3, 2021
@seratch seratch added this to the web-api@6.2.4 milestone Jun 3, 2021
@seratch
Copy link
Member

seratch commented Jun 3, 2021

Hi @swaters-atlassian, thanks for pointing this out and taking the time to make this pull request!

I'm happy to merge this PR (mainly to reflect your contribution!) but, after that, I will update the source file again. All the web-api response types rely on the normalized payload data generated by the Java SDK. The scripts/generate-web-api-types.sh in this repository utilizes the Java SDK's outputs. My pull request slackapi/java-slack-sdk#754 updates the upstream data for the script. For this reason, if you find something to improve again, creating an issue instead would be even more appreciated!

@seratch seratch merged commit 65312d8 into slackapi:main Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:typescript issues that specifically impact using the package from typescript projects bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented pkg:web-api applies to `@slack/web-api` semver:patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants