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
, where a discussion
around this topic is currently on.
Il 03/03/2017 16:28, Instantiation Exception ha scritto:
> 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,
> resteasy mailing list
resteasy mailing list
My company's smarter than your company (unless you work for Red Hat)