-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Overview
Based on discussions in #1184 and weld/weld-testing#3, it is apparent that we need to document best practices for implementing ParameterResolver, particularly with regard to "playing nicely" with other registered ParameterResolver implementations.
Proposed Categories
After having put a bit more thought into the subject, I am tossing around the idea of categorizing ParameterResolver implementations by behavior as follows.
- explicit: support requires an annotation for disambiguation.
- implicit: support is automatic for types owned by the resolver.
- speculative: a resolver claims it can support a given parameter even if it potentially should not (a.k.a., greedy or eager).
Deliverables
- Document best practices for
ParameterResolverimplementations in JavaDoc.- more succinct than the documentation in the User Guide
- Document best practices for
ParameterResolverimplementations in the User Guide.- including examples and explanations of how to avoid conflicts
smoyer64, mkobit, sherinks and laurahannah