missingTemplateTags function

List<SmfIssue> missingTemplateTags({
  1. required ModuleRegistry registry,
  2. required Resolution resolution,
  3. required Collection collection,
})

Checks that the bricks among collection's contributions that apply hold every tag they must: of every socket of a present role, in the bricks of the role's template or providers; of every socket of a module, in its bricks; and of every socket of the pipeline. Stage 5 checks the sockets that get contributions, members of socket families included.

The contract harness runs it; the pipeline leaves it to the contract tests of the modules.

Implementation

List<SmfIssue> missingTemplateTags({
  required ModuleRegistry registry,
  required Resolution resolution,
  required Collection collection,
}) =>
    _missingTagIssues(
      resolution,
      collection,
      scanBricks(
        registry: registry,
        resolution: resolution,
        collection: collection,
      ).found,
    ).toList();