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
Nic Pottier sent a detailled and interesting feed-back to the list on 15 Dec 2006. We should review the API for potential improvements in the area of parameter extraction and validation.
current routing provides validation of the resource URI -> 404 Not Found
the application should be able to easily restore the client view for correction if validation fails
keep the design centered on the Resource class, target of the request, especially for request entity validation.
the Handler class or a new Validator filter could enforce some additional validation rules, like the presence and format of some attributes, and allow custom error entities to be returned.
Interesting blog post saying that validation is preferable in the domain model than in the view as it makes it more reusable:
Initial ticket : http://restlet.tigris.org/issues/show_bug.cgi?id=221
The text was updated successfully, but these errors were encountered: