Hello,
We are currently migrating a project from 9.3 to 9.4 and we are fixing all deprecation warnings. I notice there are quite some API changes and it is not always clear how to migrate without changing the behaviour of the method.
For example the Product -> ProductService migration regarding the GetProductById method.
Product has 4 overloads for the method as described:
GetProductById(String)
GetProductById(String, String)
GetProductById(String, String, Boolean)
GetProductById(String, String, String) Obsolete.
GetProductById(String, String, String, Boolean)
The ProductService has 2 overloads and a slightly different API.
GetProductById(String, String, Boolean)
GetProductById(String, String, String)
GetProductById(String, String, String, Boolean)
For example if I am migrating my Product.GetProductById(String) method. What is the best way to migrate without breaking existing functionality? Because the default parameters are not quite clear in the documentation. What is the best way for this approach for other methods and services I am having the same issue with?
Best regards,
Antek Drzewiecki