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

fix: cannot unmarshal array into go value of type #1527

Merged
merged 1 commit into from Mar 1, 2021

Conversation

nic-chen
Copy link
Member

@nic-chen nic-chen commented Mar 1, 2021

Please answer these questions before submitting a pull request


Bugfix

  • Description
    When an api request comes in, the droplet framework will bind the parameters first, and the go array cannot be bound to the struct, which leads to this bug

  • How to fix?
    Change the array parameter to an object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: add route param Redirect : Enable HTTPS, show toast error
4 participants