-
-
Notifications
You must be signed in to change notification settings - Fork 83
Better behavior for Integer defaults #205
Copy link
Copy link
Closed
Labels
component: type/value stuffsystem of parameter type/value checking, inheritnace, etc etcsystem of parameter type/value checking, inheritnace, etc etcstatus: discussionDiscussion. Not yet a specific feature/bug. Likely to result in multiple PRs/issues.Discussion. Not yet a specific feature/bug. Likely to result in multiple PRs/issues.type-featureFeature requestFeature request
Milestone
Metadata
Metadata
Assignees
Labels
component: type/value stuffsystem of parameter type/value checking, inheritnace, etc etcsystem of parameter type/value checking, inheritnace, etc etcstatus: discussionDiscussion. Not yet a specific feature/bug. Likely to result in multiple PRs/issues.Discussion. Not yet a specific feature/bug. Likely to result in multiple PRs/issues.type-featureFeature requestFeature request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Should either coerce the provided value into an integer (which would be safe in this case, but may not be desirable if e.g. provided 4.3), or it should have a sensible error message. Instead it results in:
All things considered, I think that since we are explicitly declaring it to be an Integer, we should try converting whatever we are given into an integer. In any case, we need to fix the broken attrib name here.