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

Settings Sync: Default Values #1578

Draft
wants to merge 7 commits into
base: trunk
Choose a base branch
from

Conversation

bjtitus
Copy link
Contributor

@bjtitus bjtitus commented Mar 28, 2024

Adds default values for PodcastSettings and AppSettings using MetaCodable to ensure Decoding error don't cause data to be lost.

To test

Checklist

  • I have considered if this change warrants user-facing release notes and have added them to CHANGELOG.md if necessary.
  • I have considered adding unit tests for my changes.
  • I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.

@dangermattic
Copy link
Collaborator

2 Warnings
⚠️ Modules/DataModel/Package.swift was changed without updating its corresponding Package.resolved. Please resolve the Swift packages in Xcode.
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@bjtitus bjtitus force-pushed the bjtitus/settings-sync/default-values branch from d1403cc to 2daecc5 Compare March 28, 2024 23:46
@@ -130,7 +130,8 @@ platform :ios do
desc 'Run the unit tests'
lane :test do
run_tests(
scheme: SCHEME
scheme: SCHEME,
xcargs: "-skipPackagePluginValidation"
Copy link
Collaborator

Choose a reason for hiding this comment

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

🚫 Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

@@ -408,6 +409,7 @@ platform :ios do
include_bitcode: false,
include_symbols: true,
clean: true,
xcargs: "-skipPackagePluginValidation",
Copy link
Collaborator

Choose a reason for hiding this comment

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

🚫 Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

@bjtitus bjtitus force-pushed the bjtitus/settings-sync/default-values branch from 2daecc5 to 18279d3 Compare March 29, 2024 00:46
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.

None yet

2 participants