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

Some typings created during the oauth2 work #15812

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

Conversation

adrinr
Copy link
Collaborator

@adrinr adrinr commented Mar 26, 2025

Description

Convert some files around rest picker

Copy link

qa-wolf bot commented Mar 26, 2025

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!

Copy link

linear bot commented Mar 26, 2025

@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/m labels Mar 26, 2025
@adrinr adrinr marked this pull request as ready for review March 26, 2025 11:43
@adrinr adrinr requested a review from a team as a code owner March 26, 2025 11:43
@adrinr adrinr requested review from samwho and removed request for a team March 26, 2025 11:43
@adrinr adrinr requested a review from PClmnt March 26, 2025 11:44
@@ -764,7 +764,7 @@ if (descriptions.length) {
const verbs = ["read", "create", "update", "delete"]
for (const verb of verbs) {
const query = await createQuery({
fields: { json: {}, extra: { actionType: "invalid" } },
fields: { json: {}, extra: { actionType: "invalid" as any } },
Copy link
Collaborator

Choose a reason for hiding this comment

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

I tend to prefer throwing a // @ts-expect-error in these cases because it makes it more explicit, you can explain you're testing an invalid value on purpose. Also at some point I'd love to start tracking the count of any in the codebase and aim toward 0.

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