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

feat: Allow returning complete api response #101

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

PhilippeWeidmann
Copy link
Member

@PhilippeWeidmann PhilippeWeidmann commented Feb 15, 2024

It is marked as breaking because handleApiResponse signature changed and method is marked open.
I checked both kDrive and kMail and handleApiResponse isn't used so it shouldn't be an issue.

You can now either use:
perform -> ValidServerResponse<T> which returns a ValidApiResponse + HTTPHeaders
Or use the old "shortcut"
perform -> T

To get the old responseAt , use perform().validApiResponse.responseAt

Copy link

sonarcloud bot commented Feb 15, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@adrien-coye adrien-coye left a comment

Choose a reason for hiding this comment

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

All good.

@PhilippeWeidmann PhilippeWeidmann merged commit 5e65d5c into master Feb 27, 2024
22 checks passed
@PhilippeWeidmann PhilippeWeidmann deleted the server-response-api-fetcher branch February 27, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants