Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.56k stars 226 forks source link

When coercing an object to a string, infer the type based on the value #321

Closed abrenneke closed 5 months ago

abrenneke commented 5 months ago

Basically treat object and any the same, unfortunately, because the object node outputs object, but it can also output an array, and also an array of strings.... Basically I think this is just the least-bad fix for object and any to be nearly the same.

Fixes #307