Allowed data to be a function which return the actual request data for datasource.remote