We have changed the structure of the SDK to break cyclic dependencies. Due to this, the following changes have been made:
- Model deserialization logic has moved out from model classes.
- We have added new files
ObjectMapper.js
andModelFactory.js
to the sdk. - Exception handling in
BaseController
has changed to useObjectMapper
. BaseModel
is now being used to assign values to model properties (when model class is directly instantiated)BaseController
is not being exposed by the API Client now.
Please generate your SDK again to get the improved code.