Skip to content

invalid-nesting

Severity: error

System > Service > Component is broken, by nesting or in:.

shop/services.yaml:

systems:
checkout:
name: Checkout
components:
cart-api:
name: Cart API

Move the Element under a parent of the right kind (a Service under a System, a Component under a Service), or point in: at one.

shop/services.yaml:

systems:
checkout:
name: Checkout
services:
cart:
name: Cart
components:
cart-api:
name: Cart API