Skip to content

Support resolving anchors when looking up references #305

@rcjsuen

Description

@rcjsuen
services:
  test:
    image: alpine
  test2:
    extends:
      &anchor service: test
networks:
  test:

The &anchor on the service attribute interrupts the reference processing we have in place for test. We need to add support for YAML anchors in our reference processing code and recurse into the actual YAML node the anchor is pointing at where applicable.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions