{"id":21405368,"url":"https://github.com/karimsa/testing","last_synced_at":"2026-01-03T14:09:50.845Z","repository":{"id":149731097,"uuid":"581728822","full_name":"karimsa/testing","owner":"karimsa","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-24T07:48:51.000Z","size":823,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-11T21:03:58.432Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"A1Liu/testing","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karimsa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-24T05:14:20.000Z","updated_at":"2023-08-30T22:37:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"49a93136-9722-49db-8af4-f1578e564130","html_url":"https://github.com/karimsa/testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ftesting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ftesting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ftesting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ftesting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karimsa","download_url":"https://codeload.github.com/karimsa/testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902293,"owners_count":20366259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T16:24:47.724Z","updated_at":"2026-01-03T14:09:50.803Z","avatar_url":"https://github.com/karimsa.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# testing\n\nThings I have encountered:\n\n1. `\"target\": \"esnext\"`\n2. Property 'name' has no initializer and is not definitely assigned in the\n   constructor. - `\"strictPropertyInitialization\": false,` in `tsconfig.json`\n3. So many instances of `Please do npm i --save-dev @types/blah`\n4. `` Cannot find module `@karimsa/tinyorm` `` - Installed the wrong version\n5. `Error: relation \"tinyorm.migrations\" does not exist` - need to call `initMigrations`\n6. `Error: Cannot rerun migration` - need to be globally unique\n7. Tried to do auto-migrations with `executeMigrations` - can use\n   `conn.synchronizeEntity` instead\n8. Was confused for a bit because some methods are on `pool` and others are on `conn`\n9. Was confused for a bit because `@Column({ defaultValue: n })` requires a `PreparedQuery`\n10. Generated columns? set a default value in the migration, then don't ask\n    for the column on insert\n\n    - Online Docs are incomplete here\n    - How do i generate UUIDv4 stuffs with current API\n    - It seems the TSDocs actually have an example for exactly\n      what I'm trying to do, but that example isn't on the online docs\n    - OK actually the docs exist but the `params` section is kinda blank\n      and I missed the link to `ColumnOptions` in the description, so I\n      assumed the page was actually essentially blank and ignored it.\n\n11. Why is `createSimpleQueryBuilder().from(User)` not just\n    `createSimpleQueryBuilder(User)` or alternatively `SimpleQUeryBuilder.from(User)`\n12. **UNSOLVED** Foreign keys don't exist yet\n13. Can't do `addRows` for ALL rows without listing them in `withColumns` (suggestion: `omittingColumns`)\n14. **UNSOLVED** Column renames don't seem to work\n15. **UNSOLVED** Columns with a `uuid` type don't really work with insertion query builders\n16. **UNSOLVED** `defaultValue` stopped getting generated by `syncEntity`\n    - It works on the second run through I think? But not from a blank slate? unsure\n17. **UNSOLVED** Missing updates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarimsa%2Ftesting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarimsa%2Ftesting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarimsa%2Ftesting/lists"}