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

add clean.static #25

Open
IlyaSemenov opened this issue Dec 23, 2022 · 0 comments
Open

add clean.static #25

IlyaSemenov opened this issue Dec 23, 2022 · 0 comments

Comments

@IlyaSemenov
Copy link
Owner

We should have something like clean.static(any_value) - a cleaner that will always return any_value.

The use case would be partial refactoring of an old module where the downstream expects certain data but the upstream stops sending it. We can just provide a reasonable default value.

The other names besides static could be fixed or const.

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

No branches or pull requests

1 participant