Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

feat: fetch-Compatible API#680

Merged
d-goog merged 1 commit intomainfrom
fetch-interface
Jan 27, 2025
Merged

feat: fetch-Compatible API#680
d-goog merged 1 commit intomainfrom
fetch-interface

Conversation

@d-goog
Copy link
Contributor

@d-goog d-goog commented Jan 25, 2025

This will greatly improve ergonomics for customers and our downstream libraries. Notably:

  • Gaxios can be a drop-in replacement for libraries requiring fetch-API compliance
  • By offering a fetch-compliant API in Gaxios we can utilize it within our own libraries, such as google-auth-library, and in turn expose a fetch-compatible API for customers downstream
    • Additionally, this would allow google-auth-library to streamline request handling by removing the Transporter concept altogether.

Here's an example for customers wanting this functionality:

🦕

@d-goog d-goog requested a review from a team as a code owner January 25, 2025 00:34
@generated-files-bot
Copy link

Warning: This pull request is touching the following templated files:

@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Jan 25, 2025
@d-goog d-goog merged commit d3cb530 into main Jan 27, 2025
13 checks passed
@d-goog d-goog deleted the fetch-interface branch January 27, 2025 21:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants