Re: Proposal: using ctor-level dependency injection

2021-02-22 Thread Misagh Moayyed
Thank you all. Sounds like we have consensus. I'll proceed to create a JIRA to track the task. --Misagh - Original Message - > From: "Andrea Patricelli" > To: "dev" > Sent: Monday, February 22, 2021 7:44:13 PM > Subject: Re: Proposal: using ctor-

Re: Proposal: using ctor-level dependency injection

2021-02-22 Thread Andrea Patricelli
Hi Misagh, definitely +1 also from me! Best regards, Andrea On 19/02/21 11:41, Misagh Moayyed wrote: Hello all, I want to discuss and propose a design change in the way Syncope components, specially *Logic classes are constructed. For a concrete example, this component [1] might be a good

Re: Proposal: using ctor-level dependency injection

2021-02-19 Thread Matteo Alessandroni
Hello Misagh, I've recently come across similar discussions while working on a Java-based application and I'm getting curious about the topic you've just raised. Although I'm still attached to the field injections (@Autowired) way, I'd be happy to discover new paths about that! From my side

Re: Proposal: using ctor-level dependency injection

2021-02-19 Thread Francesco Chicchiriccò
On 19/02/21 11:41, Misagh Moayyed wrote: > Hello all, > > I want to discuss and propose a design change in the way Syncope components, > specially *Logic classes are constructed. For a concrete example, this > component [1] might be a good baseline. > > Components such as [1] do two things that

Proposal: using ctor-level dependency injection

2021-02-19 Thread Misagh Moayyed
Hello all, I want to discuss and propose a design change in the way Syncope components, specially *Logic classes are constructed. For a concrete example, this component [1] might be a good baseline. Components such as [1] do two things that seem less than ideal: 1) The class is directly