Replace silent failures with explicit failures in index-level.ts
#633
Labels
bug
Something isn't working
good first issue
Good for newcomers
hacktoberfest
For the hacking month of October
refactoring
Code refactoring with no functional impact
In
index-level.ts
, there are at least a couple of places where we accept invalid input and either return void/empty array instead of throwing explicit errors.It is probably better to throw instead so that the caller does not assume the method succeeds with no results:
queryWithInMemoryPaging()
getStartingKeyForCursor()
The text was updated successfully, but these errors were encountered: