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

Duplicated User type for inner events #1324

Open
mzduke opened this issue Sep 24, 2024 · 0 comments
Open

Duplicated User type for inner events #1324

mzduke opened this issue Sep 24, 2024 · 0 comments

Comments

@mzduke
Copy link
Contributor

mzduke commented Sep 24, 2024

Within the file slackevents/inner_events.go defined a User type, which is used only for a couple of events.
There is already defined a User type (users.go`) which match data type from API reference: https://api.slack.com/types/user.
It makes implementation of event processing dreaded (force us to support 2 different data types with the same meaning).

Is there any reason to have two different data types?

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

No branches or pull requests

1 participant