I am doing some work to update the OpenHMIS modules to platform 2.0 and am running into an issue with a change to the UserService class. The
saveUser method signature has been changed from
saveUser(User user, String password) to
saveUser(User user). While this seems like a good change, it is not backwards compatible and makes our code difficult to manage given that we want to continue support for pre-2.x versions of omrs.
Is there any advice on how to support pre-2.x as well as 2.x versions of the platform? Also, why was this change made without some period of time where the old method was deprecated?