The Configuration interface could also capture the current working directory (maybe as a URL?) so then config.url could take relative URLs. This would make it useful for capturing file paths using the file: protocol as well as external urls like https: or postgres:.
There would need to be a workingDirectory addition to ConfigurationOptions to initially capture the directory. Then like number and boolean (#3), it could try to create the URL with that value as the second constructor parameter to be passed to the Structure
The Configuration interface could also capture the current working directory (maybe as a URL?) so then
config.url
could take relative URLs. This would make it useful for capturing file paths using thefile:
protocol as well as external urls likehttps:
orpostgres:
.There would need to be a
workingDirectory
addition toConfigurationOptions
to initially capture the directory. Then likenumber
andboolean
(#3), it could try to create the URL with that value as the second constructor parameter to be passed to theStructure