diff --git a/src/notes/note.entity.ts b/src/notes/note.entity.ts index 1f412775b..817c857f9 100644 --- a/src/notes/note.entity.ts +++ b/src/notes/note.entity.ts @@ -74,6 +74,7 @@ export class Note { @ManyToMany( _ => Tag, tag => tag.notes, + { eager: true, cascade: true }, ) @JoinTable() tags: Tag[];