Use RequestFactory to create a request from the refactoring script service
Last modified by Vincent Massol on 2021/04/06
The refactoring script service has been refactored: you need to access the new RequestFactory in order to create any kind of request.
For example a script using :
#set ($renameRequest = $services.refactoring.createRenameRequest($source, 'NewName'))
should now use:
#set ($renameRequest = $services.refactoring.requestFactory.createRenameRequest($source, 'NewName'))
All the API related to refactoring operations themselves remains at the same place. See the Refactoring Module Documentation for all information.