-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
when i use the following config, it generates types with countRelation attributes
'no-counts' => false,
but these attributes should be optional because i dont always load counts for a model
example:
`export interface User {
// columns
id: number;
// relations
Role?: Role[];
// counts
roleCount: number; //<--- this should have a ? like so (roleCount?: number;)
}
`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels