Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atomic creation of Space #4105

Open
Tracked by #1340
hero101 opened this issue Jun 17, 2024 · 0 comments
Open
Tracked by #1340

Atomic creation of Space #4105

hero101 opened this issue Jun 17, 2024 · 0 comments
Labels
Atlas Team Issues and Epics worked on by team Atlas server

Comments

@hero101
Copy link
Contributor

hero101 commented Jun 17, 2024

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
@hero101 hero101 transferred this issue from alkem-io/alkemio Jun 17, 2024
@hero101 hero101 changed the title Creation of spaces to be done in memory + a single save Atomic creation of Space Jun 17, 2024
@hero101 hero101 added server Atlas Team Issues and Epics worked on by team Atlas labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Atlas Team Issues and Epics worked on by team Atlas server
Projects
None yet
Development

No branches or pull requests

1 participant