Kevin Jones

384 posts

Kevin Jones banner
Kevin Jones

Kevin Jones

@nawforce

Director, Technical Architecture @ Certinia, occasional car builder, tooling geek.

Yorkshire Katılım Ekim 2018
342 Takip Edilen532 Takipçiler
Kevin Jones
Kevin Jones@nawforce·
This one is a bit more understandable, protected method in non-virtual class, but really no harm is being done here.
Kevin Jones tweet media
English
0
0
1
62
Kevin Jones
Kevin Jones@nawforce·
TIL: In global abstract classes, abstract methods have to be global 🤷
Kevin Jones tweet media
English
2
0
1
129
Kevin Jones
Kevin Jones@nawforce·
@PhilW_SF Maybe the implementation is in the namespace, I just don't want to expose the abstraction. I would probably use an interface instead then, but struck me as rather prescriptive all the same.
English
1
0
0
31
Phil W
Phil W@PhilW_SF·
@nawforce Makes sense. After all, how could a complete implementation be created outside the namespace otherwise?
English
1
0
0
32
Kevin Jones
Kevin Jones@nawforce·
@FishOfPrey If that is our only resolution then I don't think this is usable for ISVs, we bump into prod orgs where it has been disabled via Case and it would create too many issues within the dev teams.
English
1
0
0
85
Daniel Ballinger 🦈
Daniel Ballinger 🦈@FishOfPrey·
@nawforce Having compile on deploy enabled is the current resolution to ensure a newly deployed class has been compiled. This enables ApexTypeImplementor to know which interfaces the new class implements.
English
1
0
0
83
Kevin Jones
Kevin Jones@nawforce·
Anyone know what is going on with ApexTypeImplementor and invalid classes. The doc, developer.salesforce.com/docs/atlas.en-…, explicitly states they will be returned, but hit an issue with them being missing until isValid=true.
English
3
0
5
517
Kevin Jones
Kevin Jones@nawforce·
@FishOfPrey @FishOfPrey Looking like we could do with help to get this Case resolved. If I am understanding, if the class has never been compiled, ApexTypeImplementor won't see it. Not sure what we are supposed to do to make sure it is compiled, not something we usually worry about.
English
1
0
2
87
Kevin Jones
Kevin Jones@nawforce·
@FishOfPrey Will get a Case raised, but context was interface and classes in same 1GP managed package, failure was seen on a sandbox during release testing. We have been able to hardcode a workaround for now, but intent of design is broken.
English
1
0
1
109
Kevin Jones
Kevin Jones@nawforce·
@toddhalfpenny @PlantUML I have been using PlantUML for C4 models, you can do it in Mermaid but the output looks better with PlantUML.
English
0
0
2
51
Robert Sösemann
Robert Sösemann@rsoesemann·
I hope this also answers a few questions I got from @ch_sz_knapp , @codefriar, and others about PMD6 and Null Coalescing. PMD 6 will not release another old parser update, but the team around @johnbelo will provide a temporary PMD7 for the SFDX Scanner. #issuecomment-1941029244" target="_blank" rel="nofollow noopener">github.com/forcedotcom/sf…
English
3
2
4
409
Mohith Shrivastava
Mohith Shrivastava@msrivastav13·
I think what is critical to understand is the insights provided by ApexGuru is from the org runtime. Meaning it looks at the metrics when the code is executed in runtime. Graph engine can definitely programmed to look at this via static analysis if I guess query is static. However not everything can be done via just looking at Code Syntax. This query may be dynamic or abstracted and then I think what ApexGuru does becomes invaluable.
English
1
0
5
263
Robert Sösemann
Robert Sösemann@rsoesemann·
Finding code issues with @pmd_analyzer is fast and easy. But the SOQL IN example in this blog about #ApexGuru represents a case, which a Static Analyser can't detect in a reliable way. @RaviRaina94010 and @gokul_149, couldn't @johnbelo 's Graph Engine detect this issue?
Salesforce Developers@SalesforceDevs

ApexGuru is a new #GenerativeAI tool that provides valuable insights and prescriptive Apex code recommendations for #SalesforceDevs. Curious to know more? Read the blog post that breaks it down. ⬇️ sforce.co/3UzBJ6P

English
2
0
4
1.2K
Kevin Jones retweetledi
Luke Cotter
Luke Cotter@luke__cotter·
@jodiem I have raised this exact thing with support. You get one entry event per constructor/ method call etc that occurs in that package. I raised an idea to simplify the clutter by adding an exit event and only logging entry on the first package entry ideas.salesforce.com/s/idea/a0B8W00…
English
0
1
3
250
Kevin Jones
Kevin Jones@nawforce·
@rsoesemann @pmd_analyzer Love the extra transparency over what happens in security review but a bit confused about why jar files, any insight?
English
1
0
1
110
Robert Sösemann
Robert Sösemann@rsoesemann·
And I am a bit proud to have enabled a few parts of this by enabling Custom XPath rules for Apex and XML Metadata in @pmd_analyzer 🤗. Salesforce is using that for one of its most important processes.
English
1
0
5
306