-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): trigger invariant when user doesn't return anything from `…
…getItems` (#607) * fix: trigger invariant when user doesn't return anything from getItems * tests: test invariant when not returning from getItems * fix: remove pre-resolve invariant * feat: check that every item is truthy in post-resolve invariant * fix: rmeove unused dependency * feat: add sourceId in error message * feat: use second invariant for undefined items * feat: add link to docs in invariant
- Loading branch information
1 parent
760f8e7
commit e019b4d
Showing
2 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters