Add required array element constraints
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
let
|
||||
Service = {
|
||||
name = String;
|
||||
enabled = Bool default true;
|
||||
};
|
||||
Services = [...Service];
|
||||
in
|
||||
Services & [
|
||||
{ name = "api"; },
|
||||
{ name = "worker"; enabled = false; },
|
||||
]
|
||||
Reference in New Issue
Block a user