Timeline for Tooling API in Apex - polymorphism, generic query() callout?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 20, 2018 at 13:48 | history | bounty ended | Wookie88 | ||
Nov 20, 2018 at 1:26 | comment | added | Daniel Ballinger | @Wookie88 When I find a bit more time I'll expand further on how to generate out the required child classes and then (hopefully) dynamically pass them through the query method. | |
Nov 20, 2018 at 1:25 | history | edited | Daniel Ballinger | CC BY-SA 4.0 |
Expanded on extending ens:sOObject
|
Nov 19, 2018 at 13:23 | comment | added | Wookie88 | Hi, thanks for the answer. The second part is good way to eliminate need of cloning the query methods for every object type queried, however at the cost of making sObject_x class in schema something like Frankenstein's monster - my inner perfectionist is not content with such approach, but I think I may go for it. But before that could you please elaborate a bit on first part - the classes that extend ens:sObject? | |
Nov 19, 2018 at 1:03 | history | answered | Daniel Ballinger | CC BY-SA 4.0 |