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

Add first set of import/export APIs #1326

Merged
merged 18 commits into from
Oct 25, 2023
Merged

Conversation

dhaavi
Copy link
Member

@dhaavi dhaavi commented Sep 22, 2023

No description provided.

@dhaavi dhaavi requested a review from ppacher September 22, 2023 13:19
sync/setting_single.go Show resolved Hide resolved
sync/setting_single.go Outdated Show resolved Hide resolved
sync/setting_single.go Outdated Show resolved Hide resolved
sync/settings.go Outdated Show resolved Hide resolved
sync/settings.go Outdated Show resolved Hide resolved
sync/settings.go Outdated Show resolved Hide resolved
sync/settings.go Show resolved Hide resolved
sync/settings.go Outdated
Comment on lines 241 to 270
if checked < len(settings) {
return nil, fmt.Errorf("%w: the export contains unknown settings", ErrInvalidImport)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break the plugin system when it eventually get's merged

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect the plugins to be already loaded when settings are imported.

We could however, treat this as a warning instead - but we can also "weaken" this later on.

sync/settings.go Outdated Show resolved Hide resolved
@dhaavi dhaavi linked an issue Sep 28, 2023 that may be closed by this pull request
@dhaavi dhaavi force-pushed the feature/import-export-apis branch from 0d1dae2 to 5d4ee71 Compare October 3, 2023 08:53
@dhaavi dhaavi force-pushed the feature/import-export-apis branch from d43920e to 225c083 Compare October 12, 2023 12:09
@dhaavi dhaavi force-pushed the feature/import-export-apis branch from f12ac97 to bb75b09 Compare October 25, 2023 12:18
@dhaavi dhaavi merged commit fe46ae8 into develop Oct 25, 2023
2 of 3 checks passed
@dhaavi dhaavi deleted the feature/import-export-apis branch October 25, 2023 12: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.

Import/Export Global and App Settings
2 participants