Skip to content

Add STATIC_SELECT input type to BlockKit input types enum#271

Merged
zmarushchak-hs merged 1 commit intomasterfrom
add_static_select_to_enum
Mar 15, 2022
Merged

Add STATIC_SELECT input type to BlockKit input types enum#271
zmarushchak-hs merged 1 commit intomasterfrom
add_static_select_to_enum

Conversation

@zmarushchak-hs
Copy link
Copy Markdown
Contributor

STATIC_SELECT value is missing in ViewInputType enums, causing static_select input type to be deserialized to unknown. Enum updated in this PR, so ViewStaticSelect type can be built for static_select.

Error example:
{"status":"error","message":"Invalid input JSON on line 1, column 3088: Could not resolve type id 'unknown' as a subtype of `com.hubspot.slack.client.models.interaction.views.ViewInput`: known type ids = [checkboxes, conversations_select, datepicker, external_select, multi_static_select, plain_text_input, radio_buttons, static_select, users_select] (for POJO property 'values')","correlationId":"12be0c36-06a8-457e-a73a-a6f98c463169"}

Copy link
Copy Markdown
Contributor

@nliutyi-hs nliutyi-hs left a comment

Choose a reason for hiding this comment

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

Let's try this fix)

@zmarushchak-hs zmarushchak-hs merged commit 09d23e3 into master Mar 15, 2022
@zmarushchak-hs zmarushchak-hs deleted the add_static_select_to_enum branch March 15, 2022 11:03
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 this pull request may close these issues.

3 participants