mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +00:00
refactor(db): TrekRepository base — every repository path validates the request context and reads bypass the identity map by default
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { CollectionLabels } from '../entities/CollectionLabels.entity';
|
||||
import { EntityRepository } from '@mikro-orm/sql';
|
||||
import { TrekRepository } from './_shared/trek-repository';
|
||||
|
||||
export class CollectionLabelsRepository extends EntityRepository<CollectionLabels> {}
|
||||
export class CollectionLabelsRepository extends TrekRepository<CollectionLabels> {}
|
||||
|
||||
Reference in New Issue
Block a user