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

Add @JsonAnySetter method to slack Event class #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daring2
Copy link

@daring2 daring2 commented Oct 27, 2019

Add @JsonAnySetter method to slack Event class to keep all data from slack events.

I think it can be useful in some cases. In my case the slack bot receives messages from Google Calendar application. These messages don't contain user/userId attributes, but include bot_profile object with user-realted attributes.

/**
* Created by ramswaroop on 10/06/2016.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
Copy link
Owner

Choose a reason for hiding this comment

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

Why remove this? I think it's better to ignore null values.

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