BACKGROUND:
UpdateRepresentations method is called every time inside every serialization method. Inside Lambda UpdateRepresentations called at least 3 times for each element:
when element is added to the model
during json creation
during glb creation
DESCRIPTION:
I added UpdateElementRepresentations flag to all serialization methods, so we can control whether or not we want to call UpdateRepresentations method.
By default it's true, to keep old behavior.
TESTING:
I tested it on Unicorn function (I've shared it with you). I changed UrlStorage class to call UpdateRepresentations once.
FUTURE WORK:
Some methods have too many parameters, it makes sense to create Options class and use it as input
BACKGROUND: UpdateRepresentations method is called every time inside every serialization method. Inside Lambda UpdateRepresentations called at least 3 times for each element:
DESCRIPTION:
TESTING:
FUTURE WORK:
REQUIRED:
CHANGELOG.md
.This change is