Closed commonsensesoftware closed 1 year ago
Adds service validation which covers the following main scenarios:
ServiceCollection::build_provider() should not allow an invalid ServiceProvider to be created. The signature will, therefore, now be:
ServiceCollection::build_provider()
ServiceProvider
pub fn build_provider(&self) -> Result<ServiceProvider, ValidationError>() { }
Since that is a breaking change, the crate will also bump to 2.0.
2.0
Adds service validation which covers the following main scenarios:
ServiceCollection::build_provider()
should not allow an invalidServiceProvider
to be created. The signature will, therefore, now be:Since that is a breaking change, the crate will also bump to
2.0
.