ambiguous-step
Severity: error
Several Relationships match a Dynamic View Step (several between the pair, or both a call and an event) and no relationship names one.
Failing example
Section titled “Failing example”shop/services.yaml:
services: web: name: Web relationships: - to: cart cart: name: Cart components: cart-api: name: Cart API orders: name: Orders relationships: - id: notify to: mailer events: name: Events type: broker mailer: name: Mailer relationships: - to: orders interaction: async via: events channel: order-placedviews: dynamic: purchase: title: Purchase steps: - { from: orders, to: mailer }Name the Relationship the Step takes with relationship: <id>.
shop/services.yaml:
services: web: name: Web relationships: - to: cart cart: name: Cart components: cart-api: name: Cart API orders: name: Orders relationships: - id: notify to: mailer events: name: Events type: broker mailer: name: Mailer relationships: - to: orders interaction: async via: events channel: order-placedviews: dynamic: purchase: title: Purchase steps: - { from: orders, to: mailer, relationship: notify }