Skip to content

Add model for Slack member_left_channel event#175

Merged
zmarushchak-hs merged 3 commits intomasterfrom
add-left-channel-event
Jun 18, 2020
Merged

Add model for Slack member_left_channel event#175
zmarushchak-hs merged 3 commits intomasterfrom
add-left-channel-event

Conversation

@zmarushchak-hs
Copy link
Copy Markdown
Contributor

Need to deal with member_left_channel Slack event. Added model for it.

@Immutable
@HubSpotStyle
@JsonNaming(SnakeCaseStrategy.class)
@JsonDeserialize(as = SlackMemberLeftChannelEvent.class)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we need this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I mean, I see that it's copied from other events but still, why do we need this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Okay, I see. Parent interface has custom deserializer.

Copy link
Copy Markdown
Contributor

@omotnyk omotnyk left a comment

Choose a reason for hiding this comment

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

Can we add tests for this event in EventDeserializerTest?

@zmarushchak-hs zmarushchak-hs merged commit c5b3462 into master Jun 18, 2020
@zmarushchak-hs zmarushchak-hs deleted the add-left-channel-event branch June 18, 2020 15:51
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.

2 participants