issues
search
alkem-io
/
server
Core server in the Alkemio platform, offering a GraphQL api for interacting with the logical domain model.
http://alkem.io
European Union Public License 1.2
24
stars
4
forks
source link
Atomic creation of Space
#4105
Open
hero101
opened
1 month ago
hero101
commented
1 month ago
Description
Entities are created in-memory, using the
BaseEntity.create
method of TypeORM.
The creation of the entity (and all child/nested entities) to be done in a single transaction, using the
Repository.save
method of TypeORM.
Additional context
child entities need to have
cascade: true
on their relational mappings
Description
BaseEntity.create
method of TypeORM.Repository.save
method of TypeORM.Additional context
cascade: true
on their relational mappings