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

Use import overriding for stateless platform-dependent dependencies #310

Open
bwindels opened this issue Apr 1, 2021 · 0 comments
Open

Comments

@bwindels
Copy link
Contributor

bwindels commented Apr 1, 2021

Use import overriding for stateless platform-dependent dependencies rather than putting it on the Platform class:

  • text encoding/decoding
  • URL parsing
  • crypto stuff?

Things that we want different implementations for during testing should still go through IoC though, like the clock and random number generator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant