Hello, given I have several singleton usecases defined in a module. How to scope their creation to the value of a variable, like the current user? I read the documentation, but couldnt figure it out.
Sounds good. I will take a look. Can we scope a whole module?
r
romainbsl
10/12/2024, 4:35 PM
That is not possible, but I could be a nice feature indeed.
d
Daniel Weidensdörfer
10/12/2024, 7:26 PM
In the example of creating a Scope there is a Context called Session. Could you provide an implementation example of Session? Should I use the User instance as the session in my example?