Skip to content

Conversation

@tomekowal
Copy link
Contributor

@tomekowal tomekowal commented Jan 24, 2026

This PR is a starting point on supporting hackney 2.x by tesla.
So far:

TBD:

  • if the adapter for Hackney 2.x will require extensive changes, it might be better to have a second module and decinde at runtime which one to load

TODO:

  • make sure all tests pass
  • squash to conventional commits after everything works

Note: the tests here are green because they still use old hackney. On new version

@tomekowal tomekowal mentioned this pull request Jan 24, 2026
@yordis
Copy link
Member

yordis commented Jan 26, 2026

if the adapter for Hackney 2.x will require extensive changes, it might be better to have a second module and decinde at runtime which one to load

If you feel that is the right approach, I really do not mind. These type of configuration are barely the "every day" situation. So, feel free to create a HackneyV2 and we mark the module as experimental in the worse case.

Try to keep safety checks at compile-time as much as we can.

Make it work, then make it beautiful.

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

Successfully merging this pull request may close these issues.

2 participants