add field to StoreConfig type: allow_optional_state
adds field docs with sorting information: This should be a nice quality of life improvement for the frontend implementor so they don't have to do this on the frontend.
Requested Reviewers
@buskamuza Taggin you because you seem to be responsible for this component
@cpartica Tagging you of the discussion on Slack
Problem
To build proper customer address forms, we need to have some additional information.
Solution
I've split this PR in two commits, the first is a copy of the current schema in the magento repository, the second are my modifications on it: https://github.com/magento/architecture/commit/5c8ab137d02c8b36a0d063d56883bdf743e5f3c2
Introduce additional country fields:
Country
type:region_required
Country
type:postcode_required
Country
type:name
Country
type:eu
full_name_locale
in favor ofname
full_name_english
in favor ofname
StoreConfig
type:default_country
StoreConfig
type:allow_optional_state
Requested Reviewers
@buskamuza Taggin you because you seem to be responsible for this component @cpartica Tagging you of the discussion on Slack