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

Coercion refactor #264

Closed
wants to merge 6 commits into from
Closed

Commits on Dec 9, 2015

  1. Refactor and rework http coercion.

    This fixes a number of subtle bugs and restricts "sloppy"
    argument coercion (e.g. 'true' to the bool true) to string-only
    HTTP datasources like querystrings and headers.
    
    Fixes strongloop#223 (coerced Number past MAX_SAFE_INTEGER)
    Possible fix for strongloop#208
    STRML committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    2e698c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    afdab9f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae6f58a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d173b9c View commit details
    Browse the repository at this point in the history
  5. Moved Dynamic() invocation into shared-method.

    This puts the bulk of the coercion into the http handlers,
    assuming that otherwise coercion is not desired in favor
    of strictness.
    
    Coercion now runs on qs/header/formdata regardless of 'any'
    type, and barely runs at all on JSON or direct invocation.
    STRML committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    be79cfe View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2015

  1. Configuration menu
    Copy the full SHA
    55b8d6b View commit details
    Browse the repository at this point in the history