Closed
Description
openedon Mar 4, 2021
Issue To Be Solved
CompositeValue
currently only supports stored fields.
Some built-in ("native") composite values have computed fields.
Add support for computed fields to CompositeValue
, so it can be used to represent built-in values.
Suggested Solution
- Add a field
computedFields
toCompositeValue
, which has an ordered map ofstring
tofunc() Value
entries - On member access, also look up the requested member name in
computedFields
- Tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment