Hello Andrus;

The problem is that any class which is involved in the DI process where it 
might be the `implementation` in `ConstructorInjectingProvider` at...

        Constructor<?>[] constructors = 
implementation.getDeclaredConstructors();

...appears as if it is going to have to appear in the JSON list.  This 
effectively means declaring the classes involved in the DI ahead of time.  This 
is not really ideal. I guess those DI classes could be annotation-marked in the 
Cayenne project somehow and collected at build time and incorporated into the 
`.jar` build product for Graal to pickup? :-/

Regards.

-- 
Andrew Lindesay

On Thu, 6 Apr 2023, at 01:06, Andrus Adamchik wrote:
> Yeah, would be great if you could share the JSON, but also outline the 
> overall approach. And if this JOSN file is required for the process, 
> we'd need a way to test and maintain it going forward.

Reply via email to