The existing GenericServiceMapper works okay, but there is a simpler and likely more maintainable approach utilizing scopes. In the simpler case, a caller may resolve and modify client config prior to resolving the builder. In the case of an injected client, any scoped config in passed down into the scope of the resolved builder.
The existing
GenericServiceMapper
works okay, but there is a simpler and likely more maintainable approach utilizing scopes. In the simpler case, a caller may resolve and modify client config prior to resolving the builder. In the case of an injected client, any scoped config in passed down into the scope of the resolved builder.