-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let EnsoMultiValue.to_text
delegate to first type to_text
#11827
Comments
As a side note: Update on Jan 24, 2025: Another example where |
Indeed it would be good if methods like
|
Based on
to_text
discussion, but overall question is: what shouldEnsoMultiValue
do withAny
methods? If we delegateto_text
to the first type, then we should probably delegate all of them. @radeusgd originally wrote:IMO
to_text
of first type is best. It does hide the 'other values' and that is not ideal, but given the kind of use cases we want to use multi-values for (e.g. theColumn & Integer_Column
), I think that delegating to the first type is the best we can do to keep this sensible.In that regard, perhaps
to_text
shouldn't be any different than e.g.to_js_object
orto_defautl_visualization_data
that we use to visualize the values. These will also delegate to the first value.Originally posted by @radeusgd in #11600 (comment)
The text was updated successfully, but these errors were encountered: