Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

File context for included files varies based upon how they are included #239

Closed
@simonbrowndotje

Description

@simonbrowndotje

Description

The !include statement can either inline a single DSL file or a directory of DSL files (recursively). The file context (which is used to find relative files; e.g. !docs <path>) varies depending upon whether you include the file individually or via a directory.

For context, see structurizr/lite#51.

Steps to reproduce

The attached workspace.zip file includes a minimal example. Changing the !docs ... statement in the model.dsl file causes different parts of the overall workspace to fail.

Screenshot

No response

Code sample

No response

Configuration

No response

Severity

Minor

Priority

Low

Resolution

I'm willing to fix this myself and raise a PR

More information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions