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 bound interface to be a slice of data #1574

Closed
wants to merge 2 commits into from

Commits on May 19, 2020

  1. Add tests to bind request body data to a slice

    - for JSON, XML and Multipart payloads
    - without and with extra (dummy) query parameters, which make the tests fail
      (see e.g. labstack#1565)
    benoitmasson committed May 19, 2020
    Configuration menu
    Copy the full SHA
    d2e3004 View commit details
    Browse the repository at this point in the history
  2. Fix: allow bound interface to be a slice of data

    Do not throw an error when binding to a slice, if binding occurs
    on path- or query-parameters
    => data is very likely to be found in the body, which will be bound later
    
    Should fix labstack#1356, labstack#1448, labstack#1495 (second case), labstack#1565
    benoitmasson committed May 19, 2020
    Configuration menu
    Copy the full SHA
    5256b3b View commit details
    Browse the repository at this point in the history