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

Missing No-Op Container #16

Closed
XedinUnknown opened this issue Oct 22, 2020 · 0 comments · Fixed by #17
Closed

Missing No-Op Container #16

XedinUnknown opened this issue Oct 22, 2020 · 0 comments · Fixed by #17
Labels
enhancement New feature or request
Milestone

Comments

@XedinUnknown
Copy link
Member

The Problem

Often times, container usage depends on certain environmental factors. For example, a user session container may not be available unless a user is actually logged in. This leads to extra conditions, nullable services, and other noise that adds complexity to the code.

Suggested Solution

Add a no-op container. This can be used in applications if an actual implementation is not available, without extra checks or nullables - just as if it was a real one.

@XedinUnknown XedinUnknown added the enhancement New feature or request label Oct 22, 2020
@XedinUnknown XedinUnknown added this to the v0.2 milestone Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant