-
Hi I have an array of a generic type in a model and want to make validation work, but ajv doesn't seem to like it. I couldn't find anything more in docs. @Generics("Inner")
export class Outer<Inner> {
// omitted
@GenericOf("Inner")
@CollectionOf("Task<Inner>")
tasks: Task<Inner>[];
} Gives error:
|
Beta Was this translation helpful? Give feedback.
Answered by
Romakita
Nov 13, 2022
Replies: 1 comment
-
Hello @janek515 look the pagination example on the page (Pagination.ts) See you |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
janek515
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @janek515
look the pagination example on the page (Pagination.ts)
https://tsed.io/docs/model.html#pagination
See you