Skip to content

Defaulted properties should not be injected #400

@seancorfield

Description

@seancorfield

Thanks to @mjclemente on the CFML Slack for causing me to observe that a property with a default most likely does not represent a dependency (since dependencies don't have defaults).

Accordingly, I'm going to add omitDefaultedProperties but default it to true in 4.0 (a potentially breaking change). I'm also going to change the default for omitTypedProperties to true for the same reason and for consistency. Also a potentially breaking change (for folks who do not currently use that setting).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions