HubSpot / slack-client

An asynchronous HTTP client for Slack's web API
Apache License 2.0
115 stars 53 forks source link

Add enum mapping for view_submission interactive callback #164

Closed tpoll closed 4 years ago

tpoll commented 4 years ago

@szabowexler @johnnyleitrim

Adds a proper mapping for VIEW_SUBMISSION. The object was being properly parsed, but the enum didn't exist. This PR adds the enum in and adds a tests that should automatically ensure that the json subtypes always maps the relevant enum type in the future.