Salesforce Fact #563 | @wire apex error

So what is the error you get if you call an apex method in @wire which is not annotated with (@AuraEnabled(cacheable=true).

'Apex methods that are to be cached must be marked as @AuraEnabled(cacheable=true)'.

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow