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

From Discord: Error with HttpApp.toWebHandler in version ^0.71: TypeError: context.unsafeMap is not iterable #4186

Open
effect-bot opened this issue Dec 24, 2024 · 0 comments

Comments

@effect-bot
Copy link

Summary

A user named ghard1314 has reported an error they are encountering when using HttpApp.toWebHandler with the Effect Typescript library starting from version ^0.71. The error message is a TypeError stating that context.unsafeMap is not iterable. The user notes that this issue does not occur with version 0.71 and earlier.

Michaelarnaldi is asking for a reproducible example, and ghard1314 responds by providing a link to a GitHub repository (https://github.com/ghardin1314/effect-platform-bug) that demonstrates the issue. Additionally, michaelarnaldi has tagged another user, @TimSmart, presumably for further assistance.

Key takeaways:

  • An issue arises with HttpApp.toWebHandler in versions ^0.71 of the Effect library.
  • The problem is a TypeError related to context.unsafeMap.
  • This error does not occur in version 0.71 or earlier.
  • A GitHub repository has been provided to reproduce the error.
  • Communication is ongoing with the developers, as evidenced by michaelarnaldi tagging another community member for help.

Discord thread

https://discord.com/channels/795981131316985866/1320825445347885156

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

No branches or pull requests

1 participant