This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Improve name of orderNotes flag for checkout-state provider. #2982
Labels
block: checkout
Issues related to the checkout block.
type: enhancement
The issue is a request for an enhancement.
While reviewing #2851, I left some feedback on choice of variable names for the account creation flag and noticed there's a similar problem with the naming around the
orderNotes
flag (added in #2877).This issue is to address the
orderNotes
flag naming. It should better reflect that the property is a boolean. Maybe something likecanLeaveOrderNotes
. I realize it's more verbose, but it's immediately clear when parsing code it's purpose as opposed toorderNotes
which on first glance I would assume is a list/collection of orderNotes.The text was updated successfully, but these errors were encountered: