Skip to content

Commit

Permalink
Remove VO for term type
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Jan 29, 2024
1 parent bc44c1c commit eccf340
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { dates } from '@src/languages/infrastructure/persistence/typeOrm/entitie
import { EntitySchema } from 'typeorm';
import Term from '@src/languages/domain/term/term';
import TermId from '@src/languages/domain/term/termId';
import TermType from '@src/languages/domain/term/termType';

export const termSchema = new EntitySchema<Term>({
name: Term.name,
Expand All @@ -18,7 +17,6 @@ export const termSchema = new EntitySchema<Term>({
},
type: {
type: String,
transformer: ValueObjectTransformer(TermType),
},
languageId: {
type: String,
Expand Down

0 comments on commit eccf340

Please sign in to comment.