Skip to content

file-outside-project

A model file is under no Project.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

services.yaml:1 error file-outside-project File is in no Project; move it into a folder with a project.yaml

Elements, Deployments and Views always belong to a Project, which gives them their Qualified id and default Owner. A model file under no Project has neither, so nothing in it can join the Model.

services.yaml:

services:
web:
name: Web

Move the file into a Project folder (one with a project.yaml).

shop/services.yaml:

services:
web:
name: Web

services.yaml: removed.

  • nested-project: A project.yaml sits inside another Project’s folder.

Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.