-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Import OpenAPI fixes #15698
Conversation
…s the issue was related to wrong function being called, would be detected by typing.
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
} | ||
|
||
const importResult = await queries.import(body) | ||
const importResult = await queries.importQueries(body) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Description
There was an issue with the recent Typescript refactors of stores, the
queries
store used to have an alias forimport
which is no longer available, converted everything in the area to Typescript and updated to use theimportQueries
function instead.Addresses
https://linear.app/budibase/issue/BUDI-9099/rest-api-import-is-broken
#15658