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

Make Node.js interop APIs private #6404

Merged
merged 1 commit into from
May 20, 2022

Conversation

armanbilge
Copy link
Member

@armanbilge armanbilge commented May 20, 2022

I initially intended to make these APIs public since they are helpful for integrating with serverless frameworks. After thinking more, I changed my mind.

Besides these interop APIs, there is essentially nothing else JS-specific in http4s, and I think that's great.

Furthermore, the only reason we need these interop APIs in http4s at all is to implement the Node.js scaffold server for the client testkit. I'd like to reserve the option to remove the need for them completely in the future: for example, by running the scaffold server as an external process via sbt (i.e., a testkit distributed as an sbt plugin).

@armanbilge armanbilge added the behind-the-scenes Appreciated, but not user-facing label May 20, 2022
@armanbilge armanbilge mentioned this pull request May 20, 2022
@mergify mergify bot added series/0.23 PRs targeting 0.23.x module:core labels May 20, 2022
Copy link
Member

@rossabaker rossabaker left a comment

Choose a reason for hiding this comment

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

I'm completely deferential on js, but the rationale sounds right.

@armanbilge armanbilge merged commit d570136 into http4s:series/0.23 May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
behind-the-scenes Appreciated, but not user-facing module:core series/0.23 PRs targeting 0.23.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants