Skip to content
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

Only update settings from schema. #3709

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Conversation

JakePT
Copy link
Contributor

@JakePT JakePT commented Oct 18, 2023

Description of the Change

The previous implementation of the Feature Settings API would also save all properties passed in the settings object that don't cause validation issues with the registered settings (it had been saving the _locale parameter of the request. This changes it so that only settings from the settings schema are saved.

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@JakePT JakePT changed the title On update settings from schema. Only update settings from schema. Oct 18, 2023
@felipeelia felipeelia added this to the 5.0.0 milestone Oct 18, 2023
@felipeelia felipeelia merged commit b0fecdb into 5.0.0 Oct 18, 2023
11 of 13 checks passed
@felipeelia felipeelia deleted the feature/feature-settings-ui branch October 18, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants