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

Unable to post plain text input #100

Open
swotlycto opened this issue Aug 29, 2022 · 1 comment
Open

Unable to post plain text input #100

swotlycto opened this issue Aug 29, 2022 · 1 comment

Comments

@swotlycto
Copy link

Hi,

FYI I'm unable to post a Block with a PlainTextInput because the MultiLine property gets serialized as multi_line due to the SnakeCaseNamingStrategy, but the Slack API is expecting multiline. The API responds with invalid_blocks.

See https://api.slack.com/reference/block-kit/block-elements#input

Happy to provide a test if you need it

@swotlycto
Copy link
Author

I just noticed you have a test covering the serialization of the PlainTextInput that asserts it generates multi_line - see PlainTextInputElementFixtures.

Does this suggest the issue is a regression within Slack?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant