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
Unfortunetly your solution still gives me an error:
[backend] ERROR in src/modules/tkd/use-cases/crud/tkd.crud.services.ts:89:24
[backend] TS2322: Type '{ id: number; }' is not assignable to type 'OrderBy'.
[backend] Object literal may only specify known properties, and 'id' does not exist in type 'OrderBy'.
[backend] 87 | skip: paginateDto?.offset
[backend] 88 | },
[backend] > 89 | orderBy: { id : 1 }
[backend] | ^^^^^^
[backend] 90 | });
[backend] 91 | }
Im not very good at TypeScript generic, could you write me how to change the interface to support ordering?
Hello, thanks for great repository.
I'm wondering how ordering shall be implemented with this interface?
How can I pass DTO to sort some column ASC/DESC in controller?
The text was updated successfully, but these errors were encountered: