next.js
ae96d7be - [turbopack] Remove Value::new wrapper for ServerContextType parameters (#80133)

Commit
321 days ago
[turbopack] Remove Value::new wrapper for ServerContextType parameters (#80133) Remove Value::new wrapper for ServerContextType parameters ### Why? The Value<> type is confusing and error prone, lets destroy it! As discussed over slack, turbo_tasks::Value type always implements is_resolved as true and is_transient as false which is incorrect and can enable smuggling transient vcs into turbo tasks. • https://vercel.slack.com/archives/C03EWR7LGEN/p1743456121241529 • https://vercel.slack.com/archives/C04NGV98TPS/p1743455453764879
Author
Parents
Loading