aer Standard Object Resolutions

10 views
Skip to first unread message

Dennis Graves

unread,
Apr 16, 2026, 2:26:40 PMApr 16
to Illuminated Cloud General Discussion
Started playing around with leveraging AER for a project that has been built with a lot of the Commerce objects, and was wondering how IC2/aer resolves the Standard Objects that exist in SF. 

For example, I get errors in aer compilation on a query against the Account object when making a subquery for the 'Carts', which is a standard relationship. Is this something that can be resolved on the IC2 side by allowing aer to reference the offline symbol table, or is this something that has to be resolved in aer?

Sample Query that shows error:
Error Didn't understand relationship 'Carts' in FROM clause of subquery. 'Carts' is not a valid child relationship of 'Account'.
SELECT
Id,
(SELECT Id FROM Carts)
FROM Account

Scott Wells

unread,
Apr 16, 2026, 2:36:35 PMApr 16
to Illuminated Cloud General Discussion, Dennis Graves
Hi, Dennis. Aer uses its own internal resolution mechanisms. It's generally well-versed in the standard Apex types and SObjects, but as a pre-release product, it's not 100% complete yet. It looks like it's just not aware of that particular standard relationship yet. I'd recommend logging a bug here:


The developer is exceptionally responsive and generally addresses such omissions very quickly.

Regards,
Scott Wells

Jackk Sonn

unread,
Apr 30, 2026, 5:39:54 PM (20 hours ago) Apr 30
to Illuminated Cloud General Discussion, sc...@illuminatedcloud.com, Dennis Graves
Thanks, had thesame issues 
Reply all
Reply to author
Forward
0 new messages