Skip to content

Support API 65#40

Merged
pwrightcertinia merged 7 commits intomainfrom
api-65
Oct 15, 2025
Merged

Support API 65#40
pwrightcertinia merged 7 commits intomainfrom
api-65

Conversation

@pwrightcertinia
Copy link
Contributor

@pwrightcertinia pwrightcertinia commented Oct 3, 2025

Used copilot and playwright MCP to generate classes by reading the documentation for classes mentioned in the release notes (including a previously unimplemented namespace, CommercePayments).

Copilot workflow was a bit like this:

  • Create a todo list of type names and doc page urls
  • Load up each page with playwright
  • Add the type, prioritise any others that are referenced by that type next
  • Check them off the todo list

Was a bit slower than hoped, but faster than writing out each class by hand.

Encountered issues:

  • Have to repeat in small runs, otherwise it attempts to "optimise" and make up multiple class definitions without using the doc. Similar issues with the class format being lost mid run.
  • Class relationships, i.e extends/implements are often missed and needed extra prompting. Some inherited methods are duplicated because the doc references them twice.
  • Also tried using PDF version but it was too big / copilot could not read it well, even after using text extract tool
  • Web pages cannot be fetched normally due to lazy load/cookie consent on SF help - hence Playwright

Otherwise this release didn't have any "core" Apex type changes.

@pwrightcertinia pwrightcertinia merged commit 619063c into main Oct 15, 2025
1 check passed
@pwrightcertinia pwrightcertinia deleted the api-65 branch October 15, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant