Unexpected Discoveries in TypeORM 0.3.11by@akankov
650 reads

Unexpected Discoveries in TypeORM 0.3.11

January 25th 2023
11 min
by @akankov 650 reads
tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

This article is about an unexpected discovery made while working with TypeORM, an Object-Relational Mapping (ORM) tool that is designed to work with TypeScript. The author upgraded the project to the latest version 0.3.11 and found some incompatible changes that they liked, some they were okay with, and others they didn't like. One of the things they liked was that the .findOne() or findOneBy() methods will no longer return undefined, instead they will return null. One of the things they were okay with was the new version's stricter requirement to pass the whole FindOptions object to the .find() method. One of the things they didn't like was that the new version handles null and undefined values of where parameters unexpectedly.
featured image - Unexpected Discoveries in TypeORM 0.3.11
Aleksei Kankov HackerNoon profile picture

@akankov

Aleksei Kankov

About @akankov
LEARN MORE ABOUT @AKANKOV'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa