Dependency Injection in Apex

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ค. 2021
  • How to implement dependency injection in the Salesforce Apex programming language

ความคิดเห็น • 12

  • @Evildragonfirez
    @Evildragonfirez ปีที่แล้ว +1

    This is by far the most helpful video on DI. These patterns immediately makes sense to me.

  • @stevenduong8126
    @stevenduong8126 2 ปีที่แล้ว +1

    After 1 day to learning. I have applied so many techniques in the production. Thanks again, Sir.

  • @davidknoch2256
    @davidknoch2256 3 ปีที่แล้ว +1

    Very helpful video thank you!

  • @TheDiptam
    @TheDiptam 2 ปีที่แล้ว +2

    I normally avoid the if-else to reduce the Cyclomatic complexity. Since here in the example you are using Switch I dont think this would make a lot of difference in complexity background. Could have used a Map to return string which is the name of the class and used Type class to create the newInstance. Really like your videos keep them coming.

  • @iluminattisreduz
    @iluminattisreduz 2 ปีที่แล้ว +1

    Thank you!

  • @stevenduong8126
    @stevenduong8126 2 ปีที่แล้ว +1

    Thanks so much, sir.