Skip to content

v1.2.0

Compare
Choose a tag to compare
@mvSapphire mvSapphire released this 13 Nov 09:11
· 12 commits to master since this release
740247c

Features

The main feature in this release is Auto Dependency Injection;

Before these changes, it was required to register steps to DI manually and when your pipeline becomes larger, there could be a lot of steps to register; of course, space to forget to register some step that could lead to runtime errors.

services.AddPowerPipe();

services.AddPowerPipeSte<Step1, Context>;
services.AddPowerPipeSte<Step2, Context>;
...
services.AddPowerPipeSte<Step1N, Context>;

Now all you have to do is

services.AddPowerPipe(cfg => cfg.RegisterFromAssembly(Assembly.GetExecutingAssembly()))

For more read README

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.2.0