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
How can I disable the validator on "created_at" fields, when creating a new object?
The text was updated successfully, but these errors were encountered:
Having the same problem! Disabling the validators in the "Forms" does not work. I quickly hacked in two lines in the files
sfDoctrineRestGeneratorPlugin/data/generator/sfDoctrineRestGenerator/default/parts/validateCreate
$validators = $this->getCreateValidators(); unset($validators['created_at']); // new unset($validators['updated_at']); // new $params = $this->parsePayload($payload);
After that a
symfony cc
and it works - but that is not a nice solution. If anyone Xavier could point us to a better direction, it would be nice.
Merci.
Sorry, something went wrong.
Hello,
Did someone found any solutions on this point ?
Thanks
Successfully merging a pull request may close this issue.
How can I disable the validator on "created_at" fields, when creating a new object?
The text was updated successfully, but these errors were encountered: