Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
14.0.0
-
None
-
None
-
3
-
Tiger
-
Tiger Sprint 216
Description
Follow specifications from the technical design document: https://docs.google.com/document/d/1AYu1d5IsA4xPtmUM9wmaQnhDamTP9TPn4ZT_daFGn7M/edit#heading=h.ic46b1n8zy2e
Requirements:
- The code of the shared library should be strictly typed.
- The code should follow SOLID principles.
- Objects produced by the SDK should be immutable, so we can avoid side-effects in state management.
- All publicly available functions of the SDK should be pure, so a user will be able to extend the SDK on his end.
- The code should be covered by unit tests.
- The logic related to parsing current path should be placed in function `buildModelUrl`, ModelUrl constructor should accept already prepared data. Otherwise, it will cause complexity in unit-testing.