-
Notifications
You must be signed in to change notification settings - Fork 11
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: Unhandled argument type "Call" #83
Comments
So if I do it like that I don't have this error anymore params do
json require: true do
type email : String
type username : String
type password : String
type first_name : String
type last_name : String
type dob : Array(Int32)
type sexe : String
type country : String
type language : String
type accept_terms : Bool
type accept_news : Bool
type confirmation_email_id : String
type confirmation_email_confirmation_code : String
end
end
params do
json do
type phone_number : String
type confirmation_phone_id : String
type confirmation_phone_confirmation_code : String
end
end But now, the compiler is telling me that the required field can be nil at compile time. I didn't have this issue previously when all the params were required. |
Could you try type required, require: true do instead of type required require: true do ? |
It solves the first issue, but I'm still getting
for required params |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting this error:
It's apparently related to this, not sure what is going on. Did I do something wrong?
The text was updated successfully, but these errors were encountered: