https://github.com/mrmlnc/mikro-orm-qb-json-insert
https://github.com/mrmlnc/mikro-orm-qb-json-insert
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrmlnc/mikro-orm-qb-json-insert
- Owner: mrmlnc
- License: mit
- Created: 2024-08-20T21:05:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T21:14:36.000Z (almost 2 years ago)
- Last Synced: 2025-06-15T04:05:03.943Z (about 1 year ago)
- Language: TypeScript
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MikroORM reproduction example
This repository serves as a base reproduction example, it contains basic setup with MikroORM 6 with SQLite driver and jest. This is what the main repository is using, and therefore allows for a simple integration to the codebase.
## Few hints for creating your own reproductions
- Focus on reproducing one problem at a time.
- Set up the data, the test needs to be **self-contained**.
- Don't use the CLI, do everything programmatically as part of the test.
- Remove everything unrelated, keep things as simple as possible.
- Duplication in tests is fine, better than complex abstractions.
- Comments are fine, asserts are better!
- If the problem is not driver specific, use in-memory SQLite database.