Skip to content

Commit

Permalink
Fix noop metadata manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam committed Dec 16, 2024
1 parent e3d99a5 commit 64ce918
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions packages/core/src/v3/runMetadata/noopManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,24 @@ export class NoopRunMetadataManager implements RunMetadataManager {
}

get parent(): RunMetadataUpdater {
throw new Error("Method not implemented.");
return {
appendKey: () => {},
setKey: () => {},
deleteKey: () => {},
incrementKey: () => {},
decrementKey: () => {},
removeFromKey: () => {},
};
}

get root(): RunMetadataUpdater {
throw new Error("Method not implemented.");
return {
appendKey: () => {},
setKey: () => {},
deleteKey: () => {},
incrementKey: () => {},
decrementKey: () => {},
removeFromKey: () => {},
};
}
}

0 comments on commit 64ce918

Please sign in to comment.