Skip to content

Conversation

@shaymargolis
Copy link

No description provided.

Copy link
Contributor

@Incognito Incognito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would also require tests that make use of this new feature.

The concept seems great on paper, it would help a lot with situations where you want idempotent mutation.

Something else to consider: Is there a way to do this without adding a new parameter to the method? Boolean params are usually red-flags for Single Responsibility Principle violations.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants