Open vietj opened 5 months ago
@franz1981 @cescoffier please have a look
This can be related (and better used at) https://github.com/quarkusio/quarkus/pull/40725
can you checkout my branch there and show how the changes there will translate with the new API, bud? I'm travelling, but I would like, before it got merged, to make sure the semantic and behaviours won't change too much and instead we save some code by leveraging this new feature (which is super cool!)
for now this is a tentative PR, we can discuss next week @franz1981 I think
Yep, let's sync once I'm back, thanks @vietj :pray:
Duplicating a duplicated context is supported but the semantic of the actual locals is not defined.
This update the duplicated context duplication by doing a copy of each local in the duplicated duplicate. This introduce a duplicator for each local that is responsible for copying the object when it is not null.