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

fix: return errors in data sources #40

Merged
merged 2 commits into from
Feb 10, 2025
Merged

fix: return errors in data sources #40

merged 2 commits into from
Feb 10, 2025

Conversation

nrwiersma
Copy link
Collaborator

Goal of this PR

This fixes an issue where Data Sources do not return an error if the item referenced does not exist. This has been decided that this is not desirable.

The full decision is that Data Sources for items should return an error if the item is not found, where lists should not return an error if no items are found.

@nrwiersma nrwiersma self-assigned this Feb 10, 2025
@nrwiersma nrwiersma force-pushed the fix-datasource-errors branch from 4ab4b82 to e6243cd Compare February 10, 2025 11:43
@nrwiersma nrwiersma requested a review from antiphp February 10, 2025 12:12
@nrwiersma nrwiersma merged commit e427a7e into main Feb 10, 2025
1 check passed
@nrwiersma nrwiersma deleted the fix-datasource-errors branch February 10, 2025 13:13
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