We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4ce7c2 commit db2b9f7Copy full SHA for db2b9f7
crates/next-api/src/operation.rs
@@ -32,10 +32,6 @@ pub struct EntrypointsOperation {
32
}
33
34
/// HACK: Wraps an `OperationVc<Entrypoints>` inside of a second `OperationVc`.
35
-///
36
-/// When `CollectiblesSource::take_collectibles` happens, it in-place *mutates* the `OperationVc`,
37
-/// which isn't what we want in `entrypoints_without_diagnostics_operation`. Instead we want a *new*
38
-/// `OperationVc` without diagnostics. This creates that new `OperationVc` to be mutated.
39
#[turbo_tasks::function(operation)]
40
fn entrypoints_wrapper(entrypoints: OperationVc<Entrypoints>) -> Vc<Entrypoints> {
41
entrypoints.connect()
0 commit comments