Skip to main content
Tweeted twitter.com/StackSalesforce/status/994978210680131585
deleted 2 characters in body
Source Link
sfdc
  • 13.8k
  • 19
  • 136
  • 218

In apex you can create your own REST services quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understand and know why this is the case.

update: potentially there is no technical reason and its just not there out of a project management perspective. I've created an idea to put it on the radar.

In apex you can create your own REST services quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understand and know why this is the case.

update: potentially there is no technical reason and its just not there out of a project management perspective. I've created an idea to put it on the radar.

In apex you can create your own REST services quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understand and know why this is the case.

update: potentially there is no technical reason and its just not there out of a project management perspective. I've created an idea to put it on the radar.

corrected spelling
Source Link
Simon Lawrence
  • 6.8k
  • 5
  • 35
  • 57

In apex you can create your own REST servicessesservices quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understand and know why this is the case.

update: potentially there is no technical reason and its just not there out of a project management perspective. I've created an idea to put it on the radar.

In apex you can create your own REST servicesses quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understand and know why this is the case.

update: potentially there is no technical reason and its just not there out of a project management perspective. I've created an idea to put it on the radar.

In apex you can create your own REST services quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understand and know why this is the case.

update: potentially there is no technical reason and its just not there out of a project management perspective. I've created an idea to put it on the radar.

update spelling
Source Link
Samuel De Rycke
  • 9.6k
  • 8
  • 46
  • 73

In apex you can create your own REST servicesses quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understandunderstand and know why this is the case.

update: potentially there is no technical reason and its just not there out of a project management perspective. I've created an idea to put it on the radar.

In apex you can create your own REST servicesses quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understand and know why this is the case.

In apex you can create your own REST servicesses quite simply:

@RestResource(urlMapping='/DUMMY/v1/*')
global class REST_Service {
@HttpGet
    global static string getDummytMessage(){
        return 'DUMMY DATA';
    }
}

Salesforce does not allow such a class to be annotated as @ReadOnly, I would like to understand and know why this is the case.

update: potentially there is no technical reason and its just not there out of a project management perspective. I've created an idea to put it on the radar.

Source Link
Samuel De Rycke
  • 9.6k
  • 8
  • 46
  • 73
Loading