3 ms·
Since each function is independently versioned, how does ScrapScript deal with functions that need to upgrade together? For instance, suppose "foo" produces a
by al2o3cr 4y ago
Since each function is independently versioned, how does ScrapScript deal with functions that need to upgrade together?
For instance, suppose "foo" produces a structure and "bar" consumes it - what happens if the user passes the output of "foo version 10" to "bar version 1"?
- surprisetalk 4y agoIf the function output remains the same, then there are no breaking changes. If breaking changes occur, the type system will let you know :) Then you can either pin the function to an older version or fix the breaking changes directly. The language provides enough guarantees to make tooling that can handle most of this for the user automatically.