Naming inconsistency between ActionSelectionDecisionTree and ActionSelectorDecisionTreeProvider #4802
Comments
It also seems strange that |
Did you find something interesting here for your own usage? I've got plans to delete all of this code and replace it with something much simpler in 1.0.1 😀 |
@rynowak not particularly; I'm just trying to fully learn and document the 'big picture' going on with this codebase 🏆 Would love to chat sometime, or otherwise forward some questions I have your (team's) way. |
@rynowak more from this area: There are only two direct implementations of
If an If this interface could be removed, the It looks like this all ties back into the default |
@tuespetre The goal of having factories is to enable constraints, filters, etc that require services from DI to have a well known composition root, which in this case is the factory. If a constraint does not require services, it just implements IActionConstraint, if a constraint requires services from DI, you create a factory and resolve the constraint from there. That way the constraint can just take their dependencies on the constructor and the use of service locator is limited to the factory. VersioningWebSite is probably just a website for functional tests. It might have gotten out of date or overlook. |
Thanks @javiercn. The problem that I see with
If someone was really dead-set on keeping service location out of a particular action constraint or filter implementation, they could just have their I find the fact that there is no 'true' implementation of
These do very little besides resolving an instance of The |
This is all provided for users, not for the framework. No planning to delete any extensibility points, just to reimplement action selection e713017 |
@rynowak ok, I will close this one out then 👍 |
These two classes (and their pseudo-eponymous interfaces) are inconsistent - they should both either be
Selector
orSelection
.The text was updated successfully, but these errors were encountered: