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

Make Togls.feature create empty toggle registry #20

Merged
merged 2 commits into from
Nov 24, 2015

Conversation

drewdeponte
Copy link
Owner

Why you made the change:

I did so that there wouldn't be a way from the external API screw
yourself by having a nil feature toggle registry. More specifically,
prior to this if you were to set Togls.features = nil and then try and
evaluate a feature toggle it would throw an exception, :-). This
resolves issue #19.

Why you made the change:

I did so that there wouldn't be a way from the external API screw
yourself by having a nil feature toggle registry. More specifically,
prior to this if you were to set `Togls.features = nil` and then try and
evaluate a feature toggle it would throw an exception, :-). This
resolves issue #19.
@RyanHedges RyanHedges self-assigned this Nov 23, 2015
@RyanHedges
Copy link
Contributor

+1

@drewdeponte drewdeponte merged commit 68c4c3e into master Nov 24, 2015
@drewdeponte drewdeponte deleted the make_togls_features_create_empty_singleton branch November 24, 2015 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants