Implement module loading and imports
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
let
|
||||
schema = import "./schema.dcdl";
|
||||
in
|
||||
schema.MyConfig & {
|
||||
host = "localhost";
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
MyConfig = {
|
||||
host = String;
|
||||
port = Int & > 443 default 8080;
|
||||
};
|
||||
Reference in New Issue
Block a user