-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update Client Library and API Integration for Backend Changes #92
Conversation
vividroyjeong
commented
Dec 11, 2024
- Update client library and API integration to match backend changes
- Re-config proxy for base path(start with '/api') change in backend api
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.
We shouldn't be disabling ts/es linting. If you're seeing errors popping up, try to correct them appropriately vs. disabling the rules.
Couple questions on the parameter factories around the use of async/promises. If they're required, no worries, just wasn't sure what the purpose of them was.
@@ -0,0 +1,152 @@ | |||
/* tslint:disable */ |
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.
We shouldn't be disabling tslint. If you're getting linting errors, it's better to correct them vs. disabling the checks.
Note that Sonar will check them anyway and they'll need to be corrected regardless.
configuration?: Configuration, | ||
) { | ||
return { | ||
projectionDcsvPostForm: async ( |
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.
Why is this async? It includes a promise I'm just not sure why?
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.
I see the axios config, I just don't see it getting executed
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.
Is it only for the factory function below?
import type { RequestArgs } from '../base' | ||
import type { FileUpload, Parameters } from '../models' | ||
|
||
export const RunHCSVProjectionApiAxiosParamCreator = function ( |
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.
Same as previous comment, should this be a promise? Doesn't seem to execute anything in an async way
@@ -0,0 +1,170 @@ | |||
/* tslint:disable */ |
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.
As above, do not disable tslint/eslint
@@ -0,0 +1,302 @@ | |||
/* tslint:disable */ |
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.
As above, do not disable tslint/eslint
...baseOptions, | ||
...options, | ||
} | ||
const localVarHeaderParameter = {} as any |
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.
Ideally we don't use any
. We should define a type for this if possible.
Quality Gate passedIssues Measures |
@dhlevi Thank you for your last review. I've made the following changes to address your concerns. Please review again.
|