You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue when trying to use the .withTrashed() method right after .filter() from the adonis-lucid-filter package. TypeScript doesn't recognize the .withTrashed() method, even though it works fine at runtime.
Additionally, the behavior seems inconsistent because if I reverse the order (using .withTrashed() before .filter()), the code doesn't work correctly.
Steps to reproduce:
Use .filter() followed by .withTrashed()
Notice that TypeScript generates an error indicating the method is not recognized
Change the order of the methods to .withTrashed() before .filter() and observe that TypeScript generates an error indicating the method is not recognized
Expected behavior: Ideally, both methods should work in sequence without conflicts or type recognition issues.
Questions: I'm unsure if this is the correct repository to open the issue, or if it should be in the lucid-filter repository.
The text was updated successfully, but these errors were encountered:
I'm encountering an issue when trying to use the .withTrashed() method right after .filter() from the adonis-lucid-filter package. TypeScript doesn't recognize the .withTrashed() method, even though it works fine at runtime.
Additionally, the behavior seems inconsistent because if I reverse the order (using .withTrashed() before .filter()), the code doesn't work correctly.
Steps to reproduce:
Expected behavior: Ideally, both methods should work in sequence without conflicts or type recognition issues.
Questions: I'm unsure if this is the correct repository to open the issue, or if it should be in the lucid-filter repository.
The text was updated successfully, but these errors were encountered: