I just added a comment to RESTEASY-1538.
Note, by the way, that that discussion is specific to the case in which
CDI is in use. Otherwise, constructors with arguments are fine, as long
as the arguments are annotated with @QueryParam, @PathParam, etc.
On 03/03/2017 12:17 PM, Alessio Soldano wrote:
This is likely related to
https://issues.jboss.org/browse/RESTEASY-1538 , where a discussion
around this topic is currently on.
Cheers
Alessio
Il 03/03/2017 16:28, Instantiation Exception ha scritto:
> Hi
>
> Is there any reason that RESTEasy requires default no-arg
> constructor? I suppose that it is requirement of specification but
> can you relax it? For example in Weld we can relax this requirement
> by adding weld.properties with
>
> org.jboss.weld.construction.relaxed = true
>
> Best regards,
> Konrad
>
>
> _______________________________________________
> resteasy mailing list
> resteasy(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/resteasy
_______________________________________________
resteasy mailing list
resteasy(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/resteasy
--
My company's smarter than your company (unless you work for Red Hat)