Closed tylerbenson closed 5 years ago
not sure I follow this change. It still refers to string, and string is not extensible: public final class String
@yurishkuro If I'm correct, it allows a Map<String, Object>
to be passed, so String
objects are appended/set as values to the underlying map.
we should have a test demonstrating that.
@yurishkuro ok I modified the map in the test to use Object instead of String. Is that what you were asking for?
Ideally we could do something similar for TextMapExtractAdapter
, but that's not quite as straightforward.
@tylerbenson Thanks for the update
@yurishkuro Ok to merge this PR?
For the inject case, it doesn’t matter so much that the generic type is declared as String.