XN137 commented on PR #2540:
URL: https://github.com/apache/polaris/pull/2540#issuecomment-3328507038

   > From my POV, ResolverFactory could probably be replaced with a CDI 
producer for injecting request-scoped Resolver instances.
   
   not sure this is possible as explained in how `PolarisResolutionManifest` 
uses the `ResolverFactory` i.e. one resolver instance being created in the ctor 
and one on the fly in a method call.
   so we cant inject Resolver instances directly (apart from maybe the 
`primaryResolver` one, assuming its state one be shared by unrelated usage 
spots).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to