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
Description of feature (or steps to reproduce if bug)
ModelRepository.createObject method should check if parameters equals null and set to a default value otherwise. Old (now deprecated) saveModel method did that.
Link to sample repo to reproduce issue (if bug)
Will provide if needed.
Expected result
Model without properties set.
Actual result (if bug)
ModelRepository.createObject throws NullPointerException when given parameters are null
Additional information (Node.js version, LoopBack version, etc)
LB Android SDK: 1.5.1
Node: 7.9
LB: 3.4
The text was updated successfully, but these errors were encountered:
Bug or feature request
Description of feature (or steps to reproduce if bug)
ModelRepository.createObject method should check if parameters equals null and set to a default value otherwise. Old (now deprecated) saveModel method did that.
Link to sample repo to reproduce issue (if bug)
Will provide if needed.
Expected result
Model without properties set.
Actual result (if bug)
ModelRepository.createObject throws NullPointerException when given parameters are null
Additional information (Node.js version, LoopBack version, etc)
LB Android SDK: 1.5.1
Node: 7.9
LB: 3.4
The text was updated successfully, but these errors were encountered: