Skip to content

[SCO-0003] Allow missing files in file providers#75

Merged
czechboy0 merged 3 commits intoapple:mainfrom
czechboy0:hd-sco-0003
Nov 24, 2025
Merged

[SCO-0003] Allow missing files in file providers#75
czechboy0 merged 3 commits intoapple:mainfrom
czechboy0:hd-sco-0003

Conversation

@czechboy0
Copy link
Contributor

Motivation

Fixes #66.

Read the proposal here.

Modifications

Adds the proposal.

Result

N/A

Test Plan

N/A

@czechboy0
Copy link
Contributor Author

@czechboy0
Copy link
Contributor Author

Thank you everyone for providing feedback, this proposal has been accepted and is now Ready for Implementation.

czechboy0 added a commit that referenced this pull request Nov 24, 2025
### Motivation

Fixes #66.

Approved by SCO-0003: #75 

### Modifications

Added an `allowMissing` parameter to all file-based providers to treat
missing files as empty.

### Result

Easier to use file providers when a config file is optional.

### Test Plan

Adapted and wrote new tests.
@czechboy0 czechboy0 merged commit 7819bf9 into apple:main Nov 24, 2025
26 of 27 checks passed
@czechboy0 czechboy0 deleted the hd-sco-0003 branch November 24, 2025 14:34
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.

Revisit whether a missing file should throw an error or default to empty in file providers

1 participant