-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Address): only emit the Address form data for valid schema fields #2596
base: v5
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 949eeb1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
f8e0c9d
to
fc005b9
Compare
Size Change: +12.2 kB (+1%) Total Size: 1.14 MB
ℹ️ View Unchanged
|
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Summary
getAddressSchemaForCountryFlat
returns the defined schema fields (for a specific country or default one).When emitting the Address form data, we should filter out fields that are not in the specified schema.
Tested scenarios
Add unit tests.