type parent_workspace = {
type_: [#workspace],
workspace: [@as("true") #tru],
}
let x = {type_: #workspace, workspace: #tru}
# output
var x = {
type_: "workspace",
workspace: "tru"
};
The value workspace is always true just as the value type_ is always workspace. Is it possible to get set true at the value using a ploymorphice variant or some other method?
Thank you.