Closed yadavmangesh closed 4 years ago
Describe the bug Validation for the required parameter in constructors is not working
To Reproduce Steps to reproduce the behavior: Pass Different parameters than required in the constructor
Expected behavior Compile-time error or Warning for passing the Wrong Parameter in the constructor
Actual behavior Error response in onError() method
onError()
Enviorment/Platfrom (please complete the following information):
Logs (Error Logs)
Additional context
Constructor Created was
TextMessage textMessage=new TextMessage(UID,null, CometChatConstants.CALL_TYPE_VIDEO,CometChatConstants.CATEGORY_MESSAGE);
Done
Describe the bug Validation for the required parameter in constructors is not working
To Reproduce Steps to reproduce the behavior: Pass Different parameters than required in the constructor
Expected behavior Compile-time error or Warning for passing the Wrong Parameter in the constructor
Actual behavior Error response in
onError()
methodEnviorment/Platfrom (please complete the following information):
Logs (Error Logs)
Additional context
Constructor Created was