Function for selecting custom resolver