Skip to content

build uses a stale cache#296

Merged
Fil merged 3 commits intomainfrom
fil/use-stale
Dec 1, 2023
Merged

build uses a stale cache#296
Fil merged 3 commits intomainfrom
fil/use-stale

Conversation

@Fil
Copy link
Copy Markdown
Contributor

@Fil Fil commented Dec 1, 2023

closes #140

I had fun writing the test!

@Fil Fil requested review from cinxmo and mbostock December 1, 2023 10:44
Comment thread test/dataloaders-test.ts Outdated
Copy link
Copy Markdown
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not a fan of boolean positional arguments because it’s hard to know what “true” means from the call site. (Admittedly TypeScript helps with this.) How about passing {useStale = false} = {} options instead?

@Fil
Copy link
Copy Markdown
Contributor Author

Fil commented Dec 1, 2023

done

@Fil Fil merged commit 21772b1 into main Dec 1, 2023
@Fil Fil deleted the fil/use-stale branch December 1, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ignore loader cache modification time during build

3 participants