display all non-shared returns as Any#5980
Conversation
…-view-approximate-any
I think this at least gives the viewer frontend an easy to detect indication to display a message of "There's data here, but it can't be displayed/serialized"
Yeah, and we can improve the fidelity when requested. Maybe by then the easiest way would be to teach the AI to write custom |
|
Wouldn't be helpful to see a real-world example using |
For this PR - you would just Any for the entire value. |
I added test data-view-nested (see the diff) |
Builds on #5796 (simplifying the stable to shared type approximation of #5913)
@christoph-dfinity here's the version that always approximates to Any.
I think this might actually be more alarming and a lot less informative than just dropping a few fields and promoting to Any in offending positions but at least it's simple.
It does give an indication that each stable variable contains something, at least.
(Marked do not merge because I want to switch the base to #5796)