paint-brush
Unexpected Discoveries in TypeORM 0.3.11by@akankov
3,827 reads
3,827 reads

Unexpected Discoveries in TypeORM 0.3.11

by Aleksei Kankov11mJanuary 25th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Aleksei Kankov

Aleksei Kankov

@akankov

Convert coffee into code )

About @akankov
LEARN MORE ABOUT @AKANKOV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Aleksei Kankov HackerNoon profile picture
Aleksei Kankov@akankov
Convert coffee into code )

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite