[ 
https://issues.jboss.org/browse/SEAMREST-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707142#comment-12707142
 ] 

Terrence Curran commented on SEAMREST-1:
----------------------------------------

My apologies if this is the wrong place for this discussion.

I have some free time in my schedule and decided to try to work on this to get 
it working for my own projects. I was wondering if I could get feedback from 
someone on the Seam team about the right way to implement this.

Which would be a better approach: trying to get Seam Validation to play nice 
with Rest, or trying to get Rest to play nice with Hibernate Method validation?

1. Seam Validation seems to work out of the box if you do not use Seam catch 
and implement your own ExceptionMapperProvider. It seems like if seam 
validation could replace the Rest module validation entirely if done properly.

2. Putting Hibernate Method validation into Seam Rest Validator is pretty 
straight forward but kind of tricky to do without making the module depend on 
Hibernate.



                
> Support validation of @PathParams, @QueryParams, @Headers, etc
> --------------------------------------------------------------
>
>                 Key: SEAMREST-1
>                 URL: https://issues.jboss.org/browse/SEAMREST-1
>             Project: Seam REST
>          Issue Type: Feature Request
>          Components: Bean Validation
>            Reporter: Jozef Hartinger
>             Fix For: Future
>
>
> Currently, only message body parameters and @Form objects are validated. 
> Provide support for validating @*Param parameters as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
seam-issues mailing list
seam-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to