ReadOnly annotation support for Apex Rest services - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
This idea has been delivered and can no longer be voted or commented on. If you’d like to add to this conversation, please post a new idea.
1,540  Points voting closed
Delivered in Summer 20
Delivered in Summer 20

ReadOnly annotation support for Apex Rest services

Development (Apex, LWC & VF)

The @ReadOnly Apex annotation allows an unrestricted querying against the database with certain restrictions.
While this can be implemented for scheduled execution, webservice invocation and specific Visualforce pages this feature is not available for custom Apex REST services.

Please consider supporting @ReadOnly on Apex Rest classes and/or methods.

example: Apex Rest services may be build to expose data in other structures than sObjects as exposed through the REST API. Doing so may require a lot more queries against various objects and relations than the actual data being send out in the response.

· Flag

Latest Comment from Salesforce

  • Chris Peterson - 6 months ago

    This is supported starting in Summer '20, although it's not totally "unrestricted" it does use the higher set of ReadOnly Apex limits.
  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Questions

No results found.

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.