Update Settings Sync endpoints to account for settings_context_hash
What does this MR do and why?
- Adds validation to
VsCodeSettingmodel to ensure that we don't set asettings_context_hashfor non-extensions setting type - Updates
by_setting_typesscope to only allow an array of setting types and to additionally query forsettings_context_hashwhensetting_type = extensions. - Update
CreateOrUpdateServiceto savesettings_context_hashfor extensions settings. - Update
VsCodeSettingReferenceto returnsettings_context_hashin url if it is passed in the param.
References
- Modify update extension setting endpoint to acc... (#501283 - closed)
- Modify get extension endpoints to account for `... (#501285 - closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Local validation/ screen recordings
Refer to the FE MR: feat: support extensions marketplace settings c... (gitlab-web-ide!392 - merged)
Edited by Cindy Halim