AshTypescript.VerifierChecker (ash_typescript v0.18.0)

Copy Markdown View Source

Re-runs per-module Spark verifiers for the AshTypescript Resource and Rpc extensions. Spark emits warnings (rather than raising) when a verifier fails; during codegen we want to promote those warnings to hard errors. This module iterates the configured verifiers for each module and aggregates failures.

Manifest-level verifiers are not run here — they're a property of the AshTypescript.Manifest module and are checked at compile time by Spark, and re-checked at codegen time via AshTypescript.Manifest.run_verifiers/1 (or verify_for_domains/2 for inline test manifests).

Summary

Functions

Checks per-module Resource/Rpc extension verifiers for a list of modules. Returns :ok or {:error, formatted_message}.

Functions

check_all_verifiers(modules)

Checks per-module Resource/Rpc extension verifiers for a list of modules. Returns :ok or {:error, formatted_message}.