emqx / emqx/hocon

substitute included vars with abs path

Open
#24 0 comments 0 reactions 1 assignee Claimed by @6293 View on GitHub
Dominant language
Erlang
Stars
36
Forks
23
Avg merge
5d 16h
Merged PRs (30d)
4

Description

file a:
```
foo={x:1}{include b}
bar={x:2}
```
file b:
```
y: ${bar.x}
```
this causes `{unresolved,['foo.bar.x']}` exception.
according to the spec:
> Substitutions in included files are looked up at two different paths; first, relative to the root of the included file; second, relative to the root of the including configuration.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.