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

Update react-network to support node http IncomingHttpHeaders type#2127

Merged
vsumner merged 2 commits intomainfrom
react-network-http-incominghttpheaders
Jan 12, 2022
Merged

Update react-network to support node http IncomingHttpHeaders type#2127
vsumner merged 2 commits intomainfrom
react-network-http-incominghttpheaders

Conversation

@vsumner
Copy link
Copy Markdown
Collaborator

@vsumner vsumner commented Jan 12, 2022

Description

@shopify/react-network NetworkManager header typescript type is currently an object, koa updated it's header signature to be nodes IncomingHttpHeaders type.
This PR updates the type signature to accept it as well as an object.

Fixes (issue #)

Type of change

  • @shopify/network Patch: Bug (non-breaking change which fixes an issue)
  • Minor: New feature (non-breaking change which adds functionality)
  • Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish new version)

@vsumner vsumner requested a review from a team as a code owner January 12, 2022 18:23
@vsumner vsumner merged commit 2f9a40c into main Jan 12, 2022
@vsumner vsumner deleted the react-network-http-incominghttpheaders branch January 12, 2022 18:33
@shopify-shipit shopify-shipit bot temporarily deployed to production January 12, 2022 18:54 Inactive
@shopify-shipit shopify-shipit bot temporarily deployed to feat-add-mock-factory January 24, 2022 16:17 Inactive
@shopify-shipit shopify-shipit bot temporarily deployed to react-i18n-remove-exports January 26, 2022 23:19 Inactive
@shopify-shipit shopify-shipit bot temporarily deployed to currency January 27, 2022 20:55 Inactive
@shopify-shipit shopify-shipit bot temporarily deployed to production-gem June 21, 2022 14:45 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants