You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, the property BewitRegistrationBuilder.GetRepository is of type Func<INonceRepository>. This comes with certain limitations, as it is therefore not easily possible to consume services from the serviceProvider during the initialization of the NonceRepository.
Describe the solution you'd like BewitRegistrationBuilder.GetRepository should be of type Func<IServiceProvider, INonceRepository>. That way we could use registered services to initialize the NonceRepository:
Is your feature request related to a problem? Please describe.
Currently, the property
BewitRegistrationBuilder.GetRepository
is of typeFunc<INonceRepository>
. This comes with certain limitations, as it is therefore not easily possible to consume services from the serviceProvider during the initialization of theNonceRepository
.Example from the MongoDB persistence package:
Describe the solution you'd like
BewitRegistrationBuilder.GetRepository
should be of typeFunc<IServiceProvider, INonceRepository>
. That way we could use registered services to initialize theNonceRepository
:The text was updated successfully, but these errors were encountered: