-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Independent element for YAML anchors #1738
Comments
|
yeah, I'm currently doing that, but dividing everything into pieces of files looks very bad to me (partially because relative paths are not recognized in |
I filed #1739, which adds |
This comment has been minimized.
This comment has been minimized.
I tried the master branch, and seems it works very good! Thanks i110! I'll close this. |
related: #741
Reading the docs, I get that I can define an anchor inside some pre-defined element(s), as shown in the issue above:
But it gets harder to read when your config file gets bigger. I tried cutting all anchors out:
without any luck. I get
Apr 25 21:47:27 ip-10-0-0-65 h2o[4530]: [/etc/h2o/h2o.conf:1] unknown command: anchors
error logs.Do we already have some predefined namespace (element) to do things like this? If not, I really want to have something like this, where things included in that particular element (
anchors
) will just be interpolated.The text was updated successfully, but these errors were encountered: