mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
fix persisting of many to many entity
This commit is contained in:
@@ -88,7 +88,7 @@ export class RelationField extends Field<RelationFieldConfig> {
|
||||
}
|
||||
|
||||
override async transformPersist(value: any, em: EntityManager<any>): Promise<any> {
|
||||
throw new Error("This function should not be called");
|
||||
throw new Error("RelationField: This function should not be called");
|
||||
}
|
||||
|
||||
override toJsonSchema() {
|
||||
|
||||
Reference in New Issue
Block a user