# `BB.Inference.Transformers.ValidateModelReferences`
[🔗](https://github.com/beam-bots/bb_inference/blob/main/lib/bb/inference/transformers/validate_model_references.ex#L5)

Checks that every component option typed with `BB.Inference.model_ref/1`
names a model this robot declares, and that the model's codec performs the
task the option asks for.

A transformer rather than a verifier, so that a wrong reference fails the
build: Spark reports verifier errors as warnings and compiles the module
anyway.

# `after_compile?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
