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

bug: Fixed issue where form values were being marshalled as string only #148

Merged
merged 3 commits into from
Mar 21, 2022

Commits on Mar 19, 2022

  1. bug: Fixed issue where form values were being marshalled as string only

    * Moved ConvertFormToJson to the context middleware (it isn't used anywhere else)
    * Updated ConvertFormToJson signature to receive schema so that it could be used to coerce the type
    * Updated ConvertFormToJson so that arrays are handled correctly
    * Add ConvertStringToType utility function that could be used to convert OpenAPI data type to golang type
    * Refactored convertProperties so that it uses the new ConvertStringToType utility function so that conversions are consistent. It also reduced the lines of code
    * Fixed the parameter reference in the README.md so that it's correct
    akeemphilbert committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    14e8bc4 View commit details
    Browse the repository at this point in the history
  2. bug: Fixed issue where form values were being marshalled as string only

    * Refactored form data parsing so that the same code could be used for both application/x-www-form-urlencoded and multipart/form-data
    akeemphilbert committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    abdf15a View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2022

  1. bug: Fixed issue where reading number from entity didn't work

    * In the getter functions title cased the property name (this was being done for string only)
    akeemphilbert committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    288d178 View commit details
    Browse the repository at this point in the history