Scoping set of fields. It might be useful when there is select in the form which affects which set of fields would be shown to a user.
type input = {
select,
a: [@field.entity] a',
b: [@field.entity] b',
}
and select = A | B,
and a' = { fieldA: string }
and b' = { fieldB: string };
type output = {
select,
a: a',
b: b',
};
I'm not sure if the second one is useful though since it's possible to implement it using current api. But if it is, then the question is how to name each.
Also, the prototype of the former is not really thought out so suggestions are welcome.
There are 2 possible use-cases for record value. Both can use
[@field.entity]
attribute.I'm not sure if the second one is useful though since it's possible to implement it using current api. But if it is, then the question is how to name each.
Also, the prototype of the former is not really thought out so suggestions are welcome.