feat: add check for uniqueness when creating links with isList=false (#11767)

This commit is contained in:
Harminder Virk authored and GitHub committed 2025-03-17 13:23:18 +05:30
1 parent 879c623705
commit cae47d9e49
5 files changed
+145 -26

No files matched your search

@@ -3,11 +3,12 @@ import {
InjectManager,
InjectTransactionManager,
MedusaContext,
MikroOrmBaseRepository,
ModulesSdkUtils,
} from "@medusajs/framework/utils"
type InjectedDependencies = {
linkRepository: any
linkRepository: MikroOrmBaseRepository
}
export default class LinkService<TEntity> {