We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
params do build_with Grape::Extensions::Hash::ParamBuilder requires :avatar, type: File end post '/' do ... end
Returns an error #<Grape::Exceptions::ValidationErrors: avatar is invalid> because:
#<Grape::Exceptions::ValidationErrors: avatar is invalid>
deep_dup
grape/lib/grape/extensions/hash.rb
Line 14 in 0f57e01
Tempfile#deep_dup
File
grape/lib/grape/validations/types/file.rb
Line 25 in 0f57e01
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Returns an error
#<Grape::Exceptions::ValidationErrors: avatar is invalid>
because:deep_dup
of hash values ( including tempfile)grape/lib/grape/extensions/hash.rb
Line 14 in 0f57e01
Tempfile#deep_dup
returns instance ofFile
grape/lib/grape/validations/types/file.rb
Line 25 in 0f57e01
The text was updated successfully, but these errors were encountered: