Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Conversation

@zachlipton
Copy link
Contributor

This is a draft PR that adds a failing test (which oddly enough, I had laying around uncommitted in my dev environment for some reason) showing a (potentially?) unwanted consequence from #95: if ?preview=true is passed, we now only return data from unpublished batches, but edit batches are sparse—they don't contain rows that aren't being edited.

What this means is that if you edit the data for one state and preview, the underlying published data is not returned when you call endpoints like /states/daily?preview=true, only the data in preview is returned

I'm not entirely sure what to do with this, but wanted to share the test as a starting point.

@zachlipton zachlipton requested a review from julia326 July 8, 2020 18:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants