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
IData.UpdateBinaryData takes HttpRequest with the binary data as input, we should remove the need for passing the HttpRequest down from controllers and only require the data we actually need to store the data.
The data we currently extract from the HttpRequest today seems to be filename and content type.
This would make the controller responsible for extracting the parts from the httprequest and as a side effect make it much easier to use the IData service to insert and update data in storage.
Old methods requiring httprequest should me marked as deprecated and remove in an later major release
Additional Information
Create new methods where only methods with HttpRequest as input paramas exists
Deprecate and move away from using the old methods
The text was updated successfully, but these errors were encountered:
* Introduce new method in IData for updating BinaryData without a HttpRequest as input. Old method marked as obsolete
* Consolidate test classes and replace JwtTokenUtil with UserTokenProvider
* Fix build errors
* Add some more tests and fix nullability warnings
Description
IData.UpdateBinaryData takes HttpRequest with the binary data as input, we should remove the need for passing the HttpRequest down from controllers and only require the data we actually need to store the data.
The data we currently extract from the HttpRequest today seems to be filename and content type.
This would make the controller responsible for extracting the parts from the httprequest and as a side effect make it much easier to use the IData service to insert and update data in storage.
Old methods requiring httprequest should me marked as deprecated and remove in an later major release
Additional Information
The text was updated successfully, but these errors were encountered: