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: Adding support for response headers #35

Merged
merged 11 commits into from
Oct 23, 2024
Merged

Conversation

vardanbansal-harness
Copy link
Contributor

Summary

This PR adds support for returning response headers as well from query and mutation hooks.
This is required to obtain, for e.g., pagination related information for response headers.

Screenshots

NA

Contributor license agreement

custom-fetcher/index.ts Outdated Show resolved Hide resolved
custom-fetcher/index.ts Outdated Show resolved Hide resolved
@abhinavrastogi-harness
Copy link
Collaborator

@vkbansal can we get a review on this please?

@vkbansal
Copy link

This looks like a breaking change. Be careful while upgrading. Otherwise LGTM.

@vardanbansal-harness
Copy link
Contributor Author

Thanks for the review @vkbansal!

@vardanbansal-harness vardanbansal-harness merged commit fa804fc into main Oct 23, 2024
4 checks passed
@vardanbansal-harness vardanbansal-harness deleted the adding-headers branch October 23, 2024 06:41
@abhinavrastogi-harness
Copy link
Collaborator

Thanks for the review VKB!

This looks like a breaking change.

Yes, we have a major version change, and we're doing a migration for all APIs using this client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants