HOCON
HOCON copied to clipboard
include statement being ignored.
I have a file that starts with { include 'site.conf' // more stuff } none of the data the give file is being imported. I have tried multiple variations of syntax on https://github.com/lightbend/config/blob/master/HOCON.md#include-syntax
you mention that there is a include file syntax in your specification but give no direction as to what it is I assumed that it would be from the parent source but I guess not
After further examination, I was using HoconParser.Parse(), I see that one needs to provide a include callback. It would be nice if this threw an exception instead of silently failing. It would cut back on PEBKAC in my case.
AFAIK its by design, consider to use INCLUDE REQUIRED instead
@holonsoftFounder care to exlain?