You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Builds all ~60 libs green locally. Changes:
- Migration files: cast switch discriminants to DatabaseTypeEnum (TypeORM 1.0 dropped 'sqlite' from the driver-type union; type-only, no runtime change).
- relations/select array->object via the official @typeorm/codemod (127 files in core).
- patches/typeorm+1.0.0.patch (patch-package): restore string[] relations/select + the join option in the TYPES — TypeORM 1.0 removed them from types but still honors them at runtime (FindOptionsUtils still does Array.isArray(relations) / options.join). Avoids rewriting 100+ dynamic-relations call sites. Wired into postinstall.manual.
- packages/config: switch driver configs to the public DataSourceOptions union, drop removed connectorPackage, pin better-sqlite type, add invalidWhereValuesBehavior:{null:ignore,undefined:ignore} to restore 0.3 null-where behavior.
- .onConflict(...do nothing) -> .orIgnore() (wakatime); drop deprecated .join spread in crud.service; revert codemod-mangled broadcast findOneById call.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
// TODO(typeorm-v1): `relations` no longer accepts a string array. This value references a variable whose shape can't be determined statically — if it holds `string[]`, wrap it: `Object.fromEntries(<expr>?.map(r => [r, true]) ?? [])` (dot-paths need extra nesting handling). If it already holds the v1 object shape, no change needed.
// TODO(typeorm-v1): `relations` no longer accepts a string array. This value references a variable whose shape can't be determined statically — if it holds `string[]`, wrap it: `Object.fromEntries(<expr>?.map(r => [r, true]) ?? [])` (dot-paths need extra nesting handling). If it already holds the v1 object shape, no change needed.
// TODO(typeorm-v1): `relations` no longer accepts a string array. This value references a variable whose shape can't be determined statically — if it holds `string[]`, wrap it: `Object.fromEntries(<expr>?.map(r => [r, true]) ?? [])` (dot-paths need extra nesting handling). If it already holds the v1 object shape, no change needed.
0 commit comments