Skip to content

parsley v0.7.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@matzefriedrich matzefriedrich released this 09 Aug 23:04
· 35 commits to main since this release
9e92fb6

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 the ResolveRequiredServices[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.