safe-typeorm
safe-typeorm copied to clipboard
TypeORM helper library enhancing safety in the compilation level
Contributor must use a same coding convention.
```typescript const group: BbsGroup = await BbsGroup.findOneOrFail(); safe.bindAppJoin(group); const articleList: BbsArticle[] = await bbs.articles.get(); const top: BbsArticle = articleList[0]; await top.tags.get(); await top.comments.get(); await (await top.contents.get())[0].files.get(); // ANY SELECT QUERY...
TypeOrm v0.3 has been out for quite some time. Would be nice to have it supprted.