Building a Dynamic Query to Aggregate Results
Let’s look a bit on the ability to aggregate values in Apex using some useful methods and Queries.
Let’s look a bit on the ability to aggregate values in Apex using some useful methods and Queries.
Been writing a cool Utility method which allows me to create my testing data in much easier manner taking under consideration Users that create independently Fields with the required checkbox on => which cause all Testing class that is trying to insert/update this sObject to fail.
I was trying to create manually few sample records and also encountered issues, as I have multiple required fields to populated that I was not aware of – so instead of start investigating and naming field by field I thought will be better to have my code do it for me.
Read more “Apex Unit Testing and Anonymous scripting – The Generic Way” →
Been playing with few approaches for handling errors properly and propagate the Server errors onto my lightning components.