-
Notifications
You must be signed in to change notification settings - Fork 27
-
Notifications
You must be signed in to change notification settings - Fork 27
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
create/update->result->validations: different validate output #120
Comments
c9s
added a commit
that referenced
this issue
Aug 7, 2015
Yeah that should be fixed. |
Fixed in 03dab71 |
c9s
added a commit
that referenced
this issue
Aug 7, 2015
I've applied the patch on 2.2 branch. |
c9s
added a commit
that referenced
this issue
Aug 7, 2015
It should return stdObject now. |
fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Different object result->validations output type
If call create method, i'm receive array[stdObject]:
object(stdClass)#49 (3) { ["valid"]=> bool(false) ["message"]=> string(18) "Validation failed." ["field"]=> string(10) "first_name" }
If call update method, receive array[array]:
array(3) { ["valid"]=> bool(false) ["message"]=> string(18) "Validation failed." ["field"]=> string(10) "first_name" }
The text was updated successfully, but these errors were encountered: