Skip to content
This repository has been archived by the owner on Jan 7, 2018. It is now read-only.

Setup error data for easier overriding of URL variables. #21

Merged
merged 2 commits into from
Oct 9, 2015

Commits on Sep 18, 2015

  1. Setup error data for easier overriding of URL variables.

    Now there's a concept of "common" error data variables, which we can use
    so that contact URLs (and other things like this) only have to be
    defined once per API backend, which makes it much easier to define
    variables only once which can then be embedded in other areas of the
    error response.
    
    See: 18F/api.data.gov#285
    
    This also begins to cleanup and standardize the error data variables to
    snake_case moving forward (instead of some of our odd mixtures of
    camel-case that had built up over time).
    GUI committed Sep 18, 2015
    Configuration menu
    Copy the full SHA
    6d2e657 View commit details
    Browse the repository at this point in the history
  2. Fix for the legacy camel case variables not working the same.

    Due to the order in which these were being looped over, if these
    variables contained other internal variables, the legacy copies weren't
    working properly (since they were bein modified later).
    GUI committed Sep 18, 2015
    Configuration menu
    Copy the full SHA
    f5926a8 View commit details
    Browse the repository at this point in the history