Skip to content

Guides

The Language Tour and Reference answer what is in Vertex?. This section answers how do I do X?.

Each guide is self-contained and assumes you are comfortable with everything up to tour Chapter 8 (Option and Result).

Error handling with Result

How to design fallible APIs, when to use ?, and how to build up error types that compose. Read more

Pattern matching in practice

Real patterns beyond the basics: guards, nested destructuring, list patterns, and when to reach for let assert. Read more

Testing your code

Writing @Test functions, structuring test files, and using the simulated DML layer to test Salesforce code without an org. Read more

Interop with existing Apex

Calling Apex classes, wrapping the parts of System.* you need, and handling values of type Apex.Object. Read more

Building for Salesforce

Putting it all together: @SObject, DML, @AuraEnabled, and sharing modifiers in a single project. Read more