Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 2.09 KB

README.md

File metadata and controls

37 lines (24 loc) · 2.09 KB

Apex Tooling API

Deploy to Salesforce

Reference Blogs

NOTE: This API is work in progress.

Known Issues and Gotchas

  • INVALID_SESSION_ID error message, thanks to rdehler for spotting this one, see here for how to resolve this.

Current Thinking and Strategy

There are two flavours of the Tooling API Salesforce provides, one in SOAP and another via REST. Unlike the strategy with the Apex Metadata API wrapper, the SOAP API is not compatible with Apex due to its exenstive use of polymorphic XML (e.g. xsi:type), especially in the SymbolTable type. For this reason this wrapper is focusing on the REST API, though may dip into the SOAP API depending on respective functionality.

The SOAP types have been used as a starting point for the REST types and are still being scrubbed and cleaned up. There is some initial ideas on how to get the query operation working which you can read more about in the above blog. The other motivation behind using the SOAP types was to try and use a diff of the XML Schema types each release to drive what changes are needed to keep the Apex types in sync (since the documentation does not always go into this much detail).

Contributors

TODO List

Our current TODO list is being managed via GitHub Issues