-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Let people clear the default value of an attribute when inheriting #176
Open
skington
wants to merge
8
commits into
moose:master
Choose a base branch
from
skington:skington/clear_default
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jun 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 885bf88 - Browse repository at this point
Copy the full SHA 885bf88View commit details -
Let people say has '+attribute_name' => ( clear_default => 1 };
This doesn't set the default to undef (i.e. if you don't set the attribute value, it's set to undef - which may violate a type constraint). Rather, it removes entirely the default value.
Configuration menu - View commit details
-
Copy full SHA for 8ec5ed3 - Browse repository at this point
Copy the full SHA 8ec5ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd1744f - Browse repository at this point
Copy the full SHA dd1744fView commit details
Commits on Jun 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 223cb17 - Browse repository at this point
Copy the full SHA 223cb17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8316b79 - Browse repository at this point
Copy the full SHA 8316b79View commit details -
Obviously make sure that if you clear an already-empty attribute,
that works and nothing complains.
Configuration menu - View commit details
-
Copy full SHA for ea2e8e1 - Browse repository at this point
Copy the full SHA ea2e8e1View commit details -
Still complain if we provide a default value *and* clear_value, but the
default value is false.
Configuration menu - View commit details
-
Copy full SHA for 018e5a0 - Browse repository at this point
Copy the full SHA 018e5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac11c03 - Browse repository at this point
Copy the full SHA ac11c03View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.