Advanced

Most applications only need the model in Dependencies. These topics cover publishing services for other applications and the analyzer boundary around a service contract.

In this section

  1. Providing services from a package: authoring a library whose callers you will never see, and the contract shape that makes it composable.
  2. Tutorial: Creating reusable services: define your own named service contract, the way the built-in services are defined, instead of tying a dependency to one record field name.

The Guardrails set covers rule authoring, analyzer packaging, diagnostics, and the axial policy commands for the effect boundaries those services create.