Skip to content

use Converter interfaces instead of classes for DI#276

Open
eric-boot wants to merge 1 commit intotrikoder:v3.xfrom
eric-boot:use-converter-interfaces-in-di
Open

use Converter interfaces instead of classes for DI#276
eric-boot wants to merge 1 commit intotrikoder:v3.xfrom
eric-boot:use-converter-interfaces-in-di

Conversation

@eric-boot
Copy link

@eric-boot eric-boot commented May 19, 2021

The current way of implementing a custom Scope- or UserConverter takes a lot of custom config. You need to replace every Converter argument passed to the services.

It is more obvious to use the Converter interfaces, so using a custom Converter takes less configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants