You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the base BaseSlackClient defines the return type of apiCall and response as Promise<BaseResponse> which represents the json payload returned by the Slack API.
This is an issue since users may want to access more then just the json payload from the Response such as headers and status codes.
In the next major release apiCall and response should return some version of Promise<[Response](https://deno.com/deploy/docs/runtime-response)> instead. It will be a breaking change.
Requirements (place an x in each of the [ ])
I've read and understood the Contributing guidelines and have done my best effort to follow them.
Description
Currently the base BaseSlackClient defines the return type of
apiCall
andresponse
asPromise<BaseResponse>
which represents thejson payload
returned by the Slack API.This is an issue since users may want to access more then just the
json payload
from the Response such asheaders
andstatus codes
.In the next major release
apiCall
andresponse
should return some version ofPromise<[Response](https://deno.com/deploy/docs/runtime-response)>
instead. It will be a breaking change.Requirements (place an
x
in each of the[ ]
)The text was updated successfully, but these errors were encountered: