Page MenuHomeElementl

[dagit] Create AppCache via function
ClosedPublic

Authored by dish on Jun 18 2021, 3:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 2, 12:47 AM
Unknown Object (File)
Nov 18 2022, 12:05 AM
Unknown Object (File)
Nov 18 2022, 12:05 AM
Unknown Object (File)
Nov 18 2022, 12:05 AM
Unknown Object (File)
Nov 14 2022, 2:23 PM
Unknown Object (File)
Nov 3 2022, 4:05 AM
Unknown Object (File)
Nov 2 2022, 6:08 AM
Unknown Object (File)
Nov 1 2022, 11:20 PM
Subscribers
None

Details

Summary

Instead of exporting AppCache, export a createAppCache function. This allows ApolloTestProvider to use a separate cache for each test, which makes sense given that mocks can vary from test to test.

In a followup, clean up the AppCache export entirely.

Test Plan

Buildkite. Load Dagit, sanity check that things are behaving.

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable