Subs command which adds a word will add it twice sometimes
peterfication opened this issue · 0 comments
peterfication commented
From @cenk1cenk2
It works a hundred times better for me with the latest patches. At some point, it started to work for me properly, I can't pinpoint the exact commit.
The only issue while using Subs command is if you have the original entry as the substring of the newer entry, it repeats the last words. But I have seen there was another issue open on that.
To give an example
// join-column -> from service_category
@ApiProperty({
type: String,
readOnly: true,
nullable: true
})
@IsUUID()
@Column({ name: 'service_category_id', type: DATABASE_PRIMARY_COLUMN_TYPE })
serviceCategoryId: ServiceCategoryEntity['id']
@ApiProperty({
type: () => ServiceCategoryEntity,
readOnly: true
})
@JoinColumn({ name: 'service_category_id' })
@ManyToOne(() => ServiceCategoryEntity, (serviceCategory) => serviceCategory.bookings, { onDelete: 'SET NULL' })
serviceCategory?: ServiceCategoryEntity
where last word is repeated.