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

Allow API endpoints to determine default boolean option values #12

Merged

Commits on Feb 23, 2024

  1. Allow API endpoints to determine default boolean option values

    On Jira API endpoints that accept boolean parameters, the value of the
    parameter may default to either true or false if it isn't supplied in
    the request, depending on the endpoint. In options structs that have
    them, change the type of fields representing these parameters from
    `bool` to `*bool`, so that their value isn't explicitly set to false in
    the request if a value isn't given in the struct - in order words, let
    the API endpoint decide what the value should be, not go-jira.
    chrisnovakovic committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    7ffee35 View commit details
    Browse the repository at this point in the history