Open alexanderkirtzel opened 2 hours ago
Is your feature request related to a problem? Please describe. The mapping is essential for key functionalities and privacy constraints.
mapping
Describe the solution you'd like Support more basic features like:
condition
fn
consent
validate
static
default
Also, the MappingValue could be an array to pick the first matching rule.
MappingValue
Note: Switching from default to static is a breaking change.
Lol, never mind. Both default and static are reserved words. Use value instead.
value
Is your feature request related to a problem? Please describe. The
mapping
is essential for key functionalities and privacy constraints.Describe the solution you'd like Support more basic features like:
condition
: A check if the rule should applyfn
: A custom function that gets called to return the valueconsent
: A check if the value can be used or should be redactedvalidate
: A final validation before returning the valuestatic
: A default or fallback value for the property (formerly:default
)Also, the
MappingValue
could be an array to pick the first matching rule.