@RestResource annotation not available for global class
Issue #2268
resolved
Hi Scott,
In the context of the Apply Service Layer Principles in Apex Trailhead unit, I’m declaring the follwowing Apex class:
global with sharing class CaseCloseResource {
}
When I annotate this class with @RestResource
, I'm not getting a completion while typing:
- Whereas when I add the annotation
@RestResource(UrlMapping='/case/*/close')
, it is recognised and colour-coded as expected:
Btw the inspection on the method works fine:
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Delivered in 2.2.5.0.
- Log in to comment
Fix committed for the next build.