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

Explore alternate injection method for akka-http #20

Open
reibitto opened this issue Apr 10, 2021 · 0 comments
Open

Explore alternate injection method for akka-http #20

reibitto opened this issue Apr 10, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@reibitto
Copy link
Owner

akka-http's DSL makes it difficult (or impossible?) to inject the VCR client in a transparent way. For context, see the discussion here.

Ideally a user would not be forced to restructure their code to use be-kind-rewind. You just code to the interface and then you swap out the implementation with the VcrClient. akka-http doesn't have this concept though, so we may have to be creative here.

Like I said, this might not even be feasible. I can't see any obvious solutions. But I'd like to at least explore the options before saying it's impossible. Maybe there's something clever that can be done at the actor-level? I don't know, but ideas would be welcome here.

@reibitto reibitto added the help wanted Extra attention is needed label Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant