It's All Writing.

Writing makes you happy.

How to extends an @AuraEnabled method from super class at Apex

Environment

  • Apex

Prerequisites

We can not access An Extended @AuraEnabled method from Aura ( node ) as below.

gist.github.com

AuraHelper.js can't access c:getAccounts. So, this code is not work.

Code

The solution is to change SubClass as below.

gist.github.com