Exposing a pooled object via a ParameterResolver? #3262
-
Hello, I've considered creating an Extension which:
But what I have not solved yet is how to handle returning borrowed objects to the pool once their context is complete.
Is there a better way to accomplish this? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In both cases the class-level context will be used. Have you considered using a |
Beta Was this translation helpful? Give feedback.
In both cases the class-level context will be used. Have you considered using a
@BeforeEach
method instead?