Skip to content

fix(remix): Fix issues caused by modifying duplex on Request #3645

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

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

octoper
Copy link
Member

@octoper octoper commented Jul 1, 2024

Description

This PR fixes an issue that was introduced by #3495, where the duplex property was already defined and couldn't not be modified.

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Copy link

changeset-bot bot commented Jul 1, 2024

🦋 Changeset detected

Latest commit: c9e1f36

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/remix Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@anagstef anagstef left a comment

Choose a reason for hiding this comment

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

💯

Copy link
Contributor

@dimkl dimkl left a comment

Choose a reason for hiding this comment

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

❓ Could we add a test for this?

@octoper octoper force-pushed the vaggelis/fix.remix-duplex-issue branch from 7f34119 to c9e1f36 Compare July 1, 2024 12:12
@octoper
Copy link
Member Author

octoper commented Jul 1, 2024

@dimkl No easy way to add tests for it as we don't have the infra to support it yet, we will need to check in every runtime and provider (Vercel, Cloudflare etc).
I have done manual tests in most of them

@octoper octoper merged commit 5634ddc into main Jul 1, 2024
15 checks passed
@octoper octoper deleted the vaggelis/fix.remix-duplex-issue branch July 1, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants