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

Import OpenAPI fixes #15698

Merged
merged 3 commits into from
Mar 7, 2025
Merged

Import OpenAPI fixes #15698

merged 3 commits into from
Mar 7, 2025

Conversation

mike12345567
Copy link
Collaborator

Description

There was an issue with the recent Typescript refactors of stores, the queries store used to have an alias for import which is no longer available, converted everything in the area to Typescript and updated to use the importQueries function instead.

Addresses

https://linear.app/budibase/issue/BUDI-9099/rest-api-import-is-broken
#15658

…s the issue was related to wrong function being called, would be detected by typing.
@mike12345567 mike12345567 self-assigned this Mar 7, 2025
Copy link

qa-wolf bot commented Mar 7, 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!

@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/m labels Mar 7, 2025
}

const importResult = await queries.import(body)
const importResult = await queries.importQueries(body)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the actual fix, from queries.import -> queries.importQueries

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Was duplicated and not used, removed.

@mike12345567 mike12345567 enabled auto-merge March 7, 2025 16:06
@mike12345567 mike12345567 merged commit c63a61d into master Mar 7, 2025
22 checks passed
@mike12345567 mike12345567 deleted the fix/import-query branch March 7, 2025 16:11
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
firestorm Data/Infra/Revenue Team size/m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants