Skip to content

🥅 Await promise#27

Open
clickclickonsal wants to merge 7 commits intolinnify:mainfrom
sesolabor:main
Open

🥅 Await promise#27
clickclickonsal wants to merge 7 commits intolinnify:mainfrom
sesolabor:main

Conversation

@clickclickonsal
Copy link

getRepository(this.entity).save(entity); returns a promise that was not being awaited. So this caused an issue trying when working postGenerators because the entity was not always guaranteed to be persisted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant