Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing the table store #15220

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Typing the table store #15220

wants to merge 6 commits into from

Conversation

adrinr
Copy link
Collaborator

@adrinr adrinr commented Dec 19, 2024

Description

Type table store

Copy link

qa-wolf bot commented Dec 19, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/m labels Dec 19, 2024
}
return savedTable
}

const deleteTable = async table => {
async delete(table: { _id: string; _rev: any }) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why does _rev need to be any here - is _rev?: string not sufficient?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup, mistake. Done. It should always be required, and it looks like there is a single usage were we are passing the full table

@adrinr adrinr requested a review from mike12345567 December 19, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
firestorm Data/Infra/Revenue Team size/m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants