You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When nested array is missing from the request, declared transforms it into a Hash with nil values.
I would expect it to return nil or an empty array. It looks like there was an issue opened for it, but the specs written for it do not seem to be testing the issue. #1642
The text was updated successfully, but these errors were encountered:
hyunskang
changed the title
Missing nested optional array transformed to hash with declared method
Missing nested optional array transformed into hash with declared method
Dec 14, 2018
grape
v1.1.0
ruby
v2.4.4
API definition:
Request body:
Response body:
When nested array is missing from the request,
declared
transforms it into a Hash withnil
values.I would expect it to return
nil
or an empty array. It looks like there was an issue opened for it, but the specs written for it do not seem to be testing the issue. #1642The text was updated successfully, but these errors were encountered: