Closed jspuij closed 5 years ago
RestierBatchChangeSetRequestItem uses ApiBase as a runtime dependency. To remove Microsoft.Extensions.DependencyInjection and make it a compile time dependency it needs to become a constructor argument.
Part of https://github.com/OData/RESTier/issues/629
In addition. The ApiBase is disposed in this class. This is most certainly a bug, as ApiBase is supposed to be a long lived singleton.
https://github.com/OData/RESTier/blob/master/src/Microsoft.Restier.AspNet/Batch/RestierBatchChangeSetRequestItem.cs#L126-L129
RestierBatchChangeSetRequestItem uses ApiBase as a runtime dependency. To remove Microsoft.Extensions.DependencyInjection and make it a compile time dependency it needs to become a constructor argument.
Part of https://github.com/OData/RESTier/issues/629