parsley v0.7.1
Pre-release
Pre-release
This version addresses issues with resolving and injecting services as lists.
Changes
-
Adds the
RegisterList[T]
method to enable the resolver to inject lists of services. While resolving lists of a specific service type was already possible by theResolveRequiredServices[T]
method, the consumption of arrays in constructor functions requires an explicit registration. The list registration can be mixed with named service registrations. -
Adds
fmt.Stringer
implementations to registration types to improve the debugging experience. It also fixes the handling of types reflected from anonymous functions. -
Extracts some registry and resolver errors.