fix: werkende aan 183 fix ([] vervangen door Collection<> in group en assignment)
This commit is contained in:
		
							parent
							
								
									69659426de
								
							
						
					
					
						commit
						c4729156ba
					
				
					 6 changed files with 38 additions and 24 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| import { Entity, ManyToMany, ManyToOne, PrimaryKey } from '@mikro-orm/core'; | ||||
| import { Collection, Entity, ManyToMany, ManyToOne, PrimaryKey } from '@mikro-orm/core'; | ||||
| import { Assignment } from './assignment.entity.js'; | ||||
| import { Student } from '../users/student.entity.js'; | ||||
| import { GroupRepository } from '../../data/assignments/group-repository.js'; | ||||
|  | @ -19,5 +19,5 @@ export class Group { | |||
|     @ManyToMany({ | ||||
|         entity: () => Student, | ||||
|     }) | ||||
|     members!: Student[]; | ||||
|     members!: Collection<Student>; | ||||
| } | ||||
|  |  | |||
		Reference in a new issue
	
	 Adriaan Jacquet
						Adriaan Jacquet