0

According to answer to my previous question, Tooling API objects are not supported in /composite calls.

Is there a way to insert a large (let's say 2000) number of ApexClassMembers instead of iterating through the list and POSTing to /services/data/vXX.X/tooling/sobjects/ApexClassMember/ for every element? Such approach will hit the limits immediately, therefore I consider it useless.

4
  • Are you trying to roll your own deployment tool? Seems like other tools might make more sense for the job here.
    – Adrian Larson
    Commented Mar 15, 2022 at 13:44
  • sfdx, metadata API both support up to 10k components. Why not use that?
    – sfdcfox
    Commented Mar 15, 2022 at 13:52
  • I'm just trying to collect SymbolTable with method references for every class in org in order to detect unused methods just like here andyinthecloud.com/2013/02/02/… but in Apex Commented Mar 15, 2022 at 14:09
  • @BartłomiejGóral Even I am trying to do the same. But seems like we can create only one ApexClassMember at a time through tooling request. Did you found an alternate option? Strange though - as per Andy's blog he was able to send multiple ApexClassMembers records through java client.
    – MandyKool
    Commented Nov 3, 2022 at 20:27

0

You must log in to answer this question.

Browse other questions tagged .