-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/coerciondocsThis issue is related to documentationThis issue is related to documentation
Description
Documentation Feedback
#18840 suggested input decorators for input coercion. It seems like they have finally landed in v16 in the form of the transform property on the Input() decorator. It looks like CDK’s coerceBooleanProperty and Angular’s booleanAttribute even are the same function, albeit worded differently.
I would appreciate a documentation update either here in the coercion section or in the “base” Angular docs regarding the two approaches to coercion: Is one in some way superior to the other? Will CDK’s version get deprecated? Can/should code safely be upgraded from CDK conversion to ‘native’?
Affected documentation page
BojanKogoj
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/coerciondocsThis issue is related to documentationThis issue is related to documentation