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 client callback for API warning messages #913

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Feb 26, 2021

  1. Add OptionOnWarning for the web api client (#1)

    The Slack web api returns a "warning" property on response objects. The
    requests succeed, but this field will return a comma-separated list of
    warning codes that range from "superfluous_charset" to
    "method_deprecated", as well as extra messages in the
    .response_metadata.warnings property.
    
    This option allows applications to get notified when these warnings
    exist.
    ryannjohnson-range committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    4e9b8e1 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Add path and values to onWarning callback (#2)

    ryannjohnson-range committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    0b8d7ec View commit details
    Browse the repository at this point in the history