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
Hi,
I followed the how to and I have an unexpected result
in docs/distribution/index.md L629 Oops, we forgot to add the title. Submit the request anyway, you should get a 500 error with the following message:
This error does not appear because the title field is initialized to '' and not to null.
/** The title of this book. */
public string $title = '';
In addition the documentation proposes to add a validator to prevent the error from happening again but doesn't add one to the title field mentioned above but expects the following exception to appear:
{
"propertyPath": "title",
"message": "This value should not be blank."
}
The text was updated successfully, but these errors were encountered:
Hi,
I followed the how to and I have an unexpected result
in docs/distribution/index.md
L629 Oops, we forgot to add the title. Submit the request anyway, you should get a 500 error with the following message:
This error does not appear because the title field is initialized to '' and not to null.
In addition the documentation proposes to add a validator to prevent the error from happening again but doesn't add one to the title field mentioned above but expects the following exception to appear:
The text was updated successfully, but these errors were encountered: