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
I noticed passing "undefined" to a where filter value will lead to a "NULL" query internally. This causes issues with backward compatibility for application business logic using optional values since the Juggler ORM omits "undefined" values from the internal SQL queries.
Describe the bug
I noticed passing "undefined" to a where filter value will lead to a "NULL" query internally. This causes issues with backward compatibility for application business logic using optional values since the Juggler ORM omits "undefined" values from the internal SQL queries.
Original connector logic that skips over
undefined
can be found here: https://github.com/loopbackio/loopback-connector/blob/62a9fd10ddf896c874ca7a80a9fd4a472d303637/lib/sql.js#L1194-L1196Example
With the Sequelize extension:
This leads to a query such as:
Logs
No response
Additional information
No response
Reproduction
https://github.com/loopbackio/loopback-next/pull/10128/files
The text was updated successfully, but these errors were encountered: