Skip to content

config dump fails when attribute defined twice in file #147

@g-foster2020

Description

@g-foster2020
ws config dump --key=services.php-base.environment_secrets attribute value: DB_PASS: xxxx RABBITMQ_PASSWORD: xxxx TIDEWAYS_APIKEY: xxxx ... specified in: phar:///usr/local/bin/ws/vendor/symfony/filesystem/Path.php:514 [ERROR] Symfony\Component\Filesystem\Path::makeRelative(): Argument #1 ($path) must be of type string, array given, called in phar:///usr/local/bin/ws/src/Types/Workspace/Builder.php on line 170 

due to e.g.

attribute('services.php-base.environment_secrets.TIDEWAYS_APIKEY'): ... // mixed with ... services: ... php-base: environment_secrets: 

but code has implicit assumption that attribute only occurs once in file.

Metadata

Metadata

Assignees

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