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

servant-docs: Fix docsWith. #124

Merged
merged 2 commits into from
Jun 17, 2015
Merged

Commits on Jun 16, 2015

  1. servant-docs: Fix docsWith.

    When adding extra info using using docsWith, the responses vanished from
    the output. This was due to combineAction being left-biased, and
    docsWith combining the extra info with the enpoint (in that
    order). Flipping combineAction solves this.
    Philipp Kant committed Jun 16, 2015
    Configuration menu
    Copy the full SHA
    8dc6d9a View commit details
    Browse the repository at this point in the history
  2. Added test for docsWith.

    Make sure that no information is lost when providing additional
    information via docsWith. With the current left-biased implementation of
    combineAction, this can happen if the function arguments are in the
    wrong order.
    Philipp Kant committed Jun 16, 2015
    Configuration menu
    Copy the full SHA
    529139e View commit details
    Browse the repository at this point in the history