Closed leggetter closed 1 year ago
/bounty $10
π $10.00 bounty created by adilansari
π If you start working on this, comment /attempt #343
to notify everyone
π To claim this bounty, submit a pull request that includes the text /claim #343
somewhere in its body
π Before proceeding, please make sure you can receive payouts in your country
π΅ Payment arrives in your account 2-5 days after the bounty is rewarded
π― You keep 100% of the bounty award
π Thank you for contributing to tigrisdata/tigris-client-ts!
/attempt #343
Hi! I would like to take a look at this!
π‘ @tachyonicbytes submitted a pull request that claims the bounty. You can visit your org dashboard to reward.
ππ @tachyonicbytes has been awarded $10.00! ππ
:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Is your feature request related to a problem? Please describe. Given a model that doesn't have
TigrisSearchIndex
defined.And code that tries to fetch the unset index:
The developer will receive the error:
The error message
TypeError: Cannot read properties of undefined (reading 'target')
doesn't provide any clear indication of:In this case, the developer, me, had made a mistake. But it took quite some time work out what the problem was.
Describe the solution you'd like I believe an error message such as
An attempt was made to retrieve an index with the name "pages" but there is no index defined with that name. Please make sure an index has been defined using the 'TigrisSearchIndex' decorator
would have been really helpful.